Overview
Forms & inputs
Search for a command to run or a page to navigate to.
Alert is a prominent message component that communicates important information to users.
import { Alert } from "@strongtie/design-system/alert"Not installed yet? Add the package to your app:
This module exports the following components:
AlertAlertDescriptionAlertTitle<Alert>| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default" | "destructive" | null | - |
Don't use an alert for transient confirmations that disappear on their own — use a toast for those. Alerts are for persistent, in-page messages tied to surrounding content; if the message must interrupt the user or demand a decision, use a dialog instead.