Components
Alert
A component for displaying critical information or notifications.
Loading...
Installation
NPM packages are currently unstable and may cause issues. Use it at your own risk.
npm install @mijn-ui/react-alertUsage
import { Alert, AlertDescription, AlertTitle } from "@mijn-ui/react-alert";<Alert>
<Terminal className="h-4 w-4" />
<AlertTitle>Heads up!</AlertTitle>
<AlertDescription>
You can add components and dependencies to your app using the cli.
</AlertDescription>
</Alert>Alert Variants
Loading...
Alert With Actions
Loading...
Alert With Title
Loading...
Alert With Title and Icon
Loading...
Alert Dismissable
Loading...
Alert Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | Alert | Applies styles to the root Alert component. |
iconWrapper | Alert | Styles the wrapper around the alert icon. |
title | Alert | Styles the alert title. |
description | Alert | Styles the alert description text. |