Skip to Content
247 Components v1.0 is released 🎉
Components
Alert

Alert

Shadcn Docs

Import

import { Alert, AlertIcon, AlertTitle, AlertDescription, } from '247-components-ui/v2';

Props

PropTypeDefault
variant’success’ | ‘warning’ | ‘error''default’
classNamestring
dataTestIdstring

Usage

Basic

With Action

Color Variants

Examples

AlertIcon Props

PropTypeDefault
type’success’ | ‘warning’ | ‘error’ | ‘default''default’
classNamestring
dataTestIdstring

Icon Types

Last updated on