Alert2
mynaui/alert2FreeComponent
Alerts are used to communicate a state that affects a system, feature, or page.
Install it
npx shadcn@latest add https://mynaui.com/r/alert2.jsonSource
1import { Alert, AlertDescription, AlertTitle } from "@/ui/alert";23export default function Alert2() {4 return (5 <>6 <Alert>7 <AlertTitle>You have a new invoice due.</AlertTitle>8 <AlertDescription>9 This is the alert description that shows some information.10 </AlertDescription>11 </Alert>12 <Alert variant="destructive">13 <AlertTitle>Something went wrong with your submission.</AlertTitle>14 <AlertDescription>15 Please check your connection and try again. If the problem persists,16 contact support.17 </AlertDescription>18 </Alert>19 </>20 );21}
What it pulls in
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 |
