Alert Action
uiable/alert-actionFreeComponent
Alert Action variant for component.
Live preview
live · rendered by the registry
Rendered by uiable on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://uiable.com/r/alert-action.jsonSource
1// shadcn2import {3 Alert,4 AlertAction,5 AlertDescription,6 AlertTitle7} from "@/components/ui/alert";8import { Button } from "@/components/ui/button";910// ------------------------------ | ALERT - ACTION | ------------------------------ //1112export default function AlertActionExample() {13 return (14 <Alert className="max-w-md">15 <AlertTitle>Dark mode is now available</AlertTitle>16 <AlertDescription>17 Enable it under your profile settings to get started.18 </AlertDescription>19 <AlertAction>20 <Button size="xs" variant="default">21 Enable22 </Button>23 </AlertAction>24 </Alert>25 );26}
What it pulls in
Other registry items
Files it writes
More from uiable
All 730 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | uiable | Components | Free | 2 deps | |
| Accordion Basicaccordion-basic | uiable | Components | Free | no deps | |
| Accordion Bordersaccordion-borders | uiable | Components | Free | no deps | |
| Accordion Cardaccordion-card | uiable | Components | Free | no deps | |
| Accordion Disabledaccordion-disabled | uiable | Components | Free | no deps | |
| Accordion Flushaccordion-flush | uiable | Components | Free | no deps | |
| Accordion Multipleaccordion-multiple | uiable | Components | Free | no deps | |
| Alertalert | uiable | Components | Free | 1 dep |
