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-alert

Usage

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 NameTargeted ComponentPurpose
baseAlertApplies styles to the root Alert component.
iconWrapperAlertStyles the wrapper around the alert icon.
titleAlertStyles the alert title.
descriptionAlertStyles the alert description text.