MiHCM
feedback/@mihcm/ui·v0.21.0·stable

Alert

Inline message banner with Alert, AlertTitle, AlertDescription pieces. role="alert" for screen-reader announcements.

Props

The full prop API for Alert. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
variant'default' | 'destructive' | 'success' | 'warning''default'Visual + tonal variant. Color is never the only signal — pair with an icon.0.3.0
classNamestringAdditional Tailwind classes.0.3.0

Import

import { Alert, AlertTitle, AlertDescription } from '@mihcm/ui/Alert';