Alert
A callout that draws attention to important information.
$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/alert.jsonScheduled maintenance
The dashboard will be unavailable on Sunday from 01:00 to 02:00 UTC.
Installation
Add Alert with the shadcn CLI, or copy the source by hand. In this repo there's nothing to install — import it from @multidash/ui.
$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/alert.jsonAdds the component, the components it builds on, its npm packages and the theme tokens it uses. Using Multidash often? Add the registry to components.json once:
components.json
{
"registries": {
"@multidash": "https://multidash-app.vercel.app/r/{name}.json"
}
}Then add components by name:
$ pnpm dlx shadcn@latest add @multidash/alertUsage
import {
Alert,
AlertTitle,
AlertDescription,
} from "@multidash/ui/components/alert"Examples
Variants
Always pair the color with an icon and a clear title.
New feature
Data tables now support column visibility.
Payment received
Invoice INV-1048 has been paid.
Storage almost full
You have used 92% of your storage quota.
Payment failed
Your card was declined. Please update your billing details.