Alert
Keep your users informed and engaged with Rothko UI's Alert component. Display important messages, notifications, warnings, and errors with customizable styles and various severity levels, ensuring a seamless user experience.
Usage
import { Alert } from '@rothko-ui/ui';
- Example
- Code
Success
Warning
Error!
Props
Name | Type | Default | Description |
---|---|---|---|
Name appearance | Type 'filled' | 'outline' | Default 'filled' | Description The appearance style of the Alert component. Default is "filled". |
Name className | Type string | Default | Description The class name for the Alert component. |
Name id | Type string | Default | Description Unique identifier for the Alert component. |
Name kind | Type RothkoKind | Default 'danger' | Description Specifies the alert's style kind. Default is 'danger'. |
Name style | Type CSSProperties | Default | Description The inline style for the Alert component. |