Alert

Feedback, confirmations, warnings, and errors

Each variant maps to a status colour (positive, warning, error, info, neutral) so the meaning is immediately clear. Can be dismissed with an optional close button.

Default

Compact

States

tsx
// From the npm package
import { Alert } from 'rift-ds/components/Alert/Alert';

// Or as source you own, via the shadcn CLI
npx shadcn@latest add https://rift-ds.com/r/alert.json