Alert5
mynaui/alert5FreeComponent
Alerts are used to communicate a state that affects a system, feature, or page.
Install it
npx shadcn@latest add https://mynaui.com/r/alert5.jsonSource
1import { Alert, AlertDescription, AlertTitle } from "@/ui/alert";2import { DangerTriangle, InfoCircle } from "@mynaui/icons-react";34export default function Alert5() {5 return (6 <>7 <Alert>8 <InfoCircle className="size-4" />9 <AlertTitle>You have a new invoice due.</AlertTitle>10 <AlertDescription>11 Do not miss out on the opportunity to pay your invoice. It's due12 in 3 days.13 <a14 href="#"15 className="inline-flex text-sm font-medium underline text-foreground"16 >17 Pay Now18 </a>19 </AlertDescription>20 </Alert>21 <Alert variant="destructive">22 <DangerTriangle className="size-4" />23 <AlertTitle>Something went wrong with your submission.</AlertTitle>24 <AlertDescription>25 Please check your connection and try again. If the problem persists,26 contact support.27 <a28 href="#"29 className="inline-flex text-sm font-medium text-destructive underline"30 >31 Retry32 </a>33 </AlertDescription>34 </Alert>35 </>36 );37}
What it pulls in
npm packages
Other registry items
Files it writes
More from mynaui
All 346 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordion1accordion1 | mynaui | Components | Free | no deps · 2 files | |
| Accordion2accordion2 | mynaui | Components | Free | no deps · 2 files | |
| Accordion3accordion3 | mynaui | Components | Free | no deps · 2 files | |
| Accordion4accordion4 | mynaui | Components | Free | 1 dep · 2 files | |
| Accordion5accordion5 | mynaui | Components | Free | 1 dep · 2 files | |
| Alert dialog1alert-dialog1 | mynaui | Components | Free | no deps · 2 files | |
| Alert dialog2alert-dialog2 | mynaui | Components | Free | 1 dep · 2 files | |
| Alert dialog3alert-dialog3 | mynaui | Components | Free | 1 dep · 2 files |
