Component

Alert

Inline informational and warning feedback.

Preview

Daily backup completed successfully at 05:00 AM.

Examples

Default

Daily backup completed successfully at 05:00 AM.

Destructive

Network sync failed. Please check your connection and try again.

AI Prompt

Ready to copy and paste into any AI model.

prompt.txt
Build a shadcn/ui **Alert** component for the **Clinic Admin** design system.

**Brand tokens:** Primary #70C4CA (teal), secondary #F3F4F6, destructive #F7A9AA, border #C4D0DB, radius 10px (default). Font: Nunito Sans for body, Nunito for headings.

**Design preview:** Replicate exactly the UI shown in the Clinic Admin docs preview for this component (same labels, structure, variants, and layout).

Return a React component with TypeScript. Use shadcn/ui **Alert** as base, cn() + Tailwind CSS. Support variants and sizes shown in the preview.
Copy once, paste anywhere, keep consistent output.