Alert
bundui/alert-with-action-buttonFreeComponent
Displays a callout for user attention.
Live preview
live · rendered by the registry
Rendered by bundui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://bundui.io/r/alert-with-action-button.jsonSource
1import { CheckCircle2Icon } from "lucide-react";2import { Alert, AlertTitle } from "@/components/ui/alert";3import { Button } from "@/components/ui/button";45export default function AlertWithActionButton() {6 return (7 <Alert className="flex items-center justify-between">8 <div className="flex gap-3">9 <CheckCircle2Icon className="mt-0.5 size-4" />10 <AlertTitle>Success! Your changes have been saved</AlertTitle>11 </div>12 <Button variant="outline" size="sm">13 Go it!14 </Button>15 </Alert>16 );17}
What it pulls in
npm packages
Other registry items
Files it writes
More from bundui
All 217 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion-collapsible | bundui | Components | Free | no deps · 2 files | |
| Accordionaccordion-default | bundui | Components | Free | no deps | |
| Accordionaccordion-with-plus-icon | bundui | Components | Free | 2 deps | |
| Alertalert-danger | bundui | Components | Free | 1 dep | |
| Alertalert-default | bundui | Components | Free | no deps | |
| Alert Dialogalert-dialog | bundui | Components | Free | no deps | |
| Alertalert-success | bundui | Components | Free | 1 dep | |
| Alertalert-warning | bundui | Components | Free | 1 dep |
