Alert
Inline status callout with title, description and an optional top-right action slot. Default and destructive variants; a leading icon moves the text into a second column.
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
/** Alert with a title and a description. */
export default function AlertDemo() {
return (
<Alert className="max-w-lg">
<AlertTitle>Your license key was emailed</AlertTitle>
<AlertDescription>
Paste it into your CLI config to install paid blocks. It never expires.
</AlertDescription>
</Alert>
)
}
Installation
pnpm dlx shadcn add @01orbital/alertnpx shadcn add @01orbital/alertyarn shadcn add @01orbital/alertbunx --bun shadcn add @01orbital/alertAdd the @01orbital registry to components.json once (install guide), then run the command.
It lands at components/ui/alert.tsx, as source you own and edit.
Dependencies
npm: class-variance-authority, cn. The CLI installs them for you.
No other registry pieces.
Accordion
Bordered accordion on Base UI with item, trigger and animated content panel. Open items take a muted tint, and the caret flips between down and up as a panel expands.
Metric Card
Compact KPI card: a metric name, a large tabular value, an optional outline badge with a trend-up or trend-down icon and screen-reader label, and an optional description line.