Setup Card

A finish-setting-up card for a sidebar footer: a pastel media header, a circular badge floating on its lower edge, the copy, and a footer with a step-progress ring.

tsx
import {
  SetupCard,
  SetupCardMedia,
  SetupCardTitle,
  SetupCardDescription,
  SetupCardFooter,
  SetupCardSteps,
} from "@pestoui/core"

Onboarding progress

The media has no background of its own — pass one of the gradient-* utilities in className. SetupCardSteps draws the ring and the “2 of 4” beside it.

Finish setting up
Connect a channel and publish your first agent.
Setup progress: 2 of 4

Small, with a dismiss action

size="sm" tightens the padding and shortens the media. action on the media pins a control to its top-right corner.

Invite your team
Agents work better with reviewers.
Onboarding: 3 of 4

Props

PropTypeDefaultDescription
size"sm" | "default""default"On SetupCard. Padding, media height and badge size.
badgeReactNode—On SetupCardMedia. A circular mark centred on the seam between the media and the body. Decorative.
actionReactNode—On SetupCardMedia. An overlaid control, pinned to the top-right corner and forced to a pill.
classNamestring—On SetupCardMedia. Where the gradient-* background goes.
currentnumber—On SetupCardSteps. Required. Steps completed; clamped to 0–max by the ring.
maxnumber—On SetupCardSteps. Required. Total number of steps.
srLabelstring"Setup progress"On SetupCardSteps. Names the count for assistive tech, read ahead of the visible “2 of 4”.

Pesto UI · 117 documented components