Skip to Content
✨ QuickCode UI keeps growing! More components, more features, and more ways to make your projects shine. Stay tuned & maybe… hire me or sponsor me 😉 
DocumentationAlert

Alert

Display important messages and notifications to users with optional icons and semantic variants.

Install Dependencies

npx
quickcode-ui add Alert

Examples

Default Example

Props

Alert

PropTypeDefaultDescription
variant"default" | "destructive""default"Visual style of the alert
classNamestringAdditional CSS classes
childrenReact.ReactNodeAlert content including icon, title, and description

Alert.Title

PropTypeDefaultDescription
classNamestringAdditional CSS classes
childrenReact.ReactNodeTitle text content

Alert.Description

PropTypeDefaultDescription
classNamestringAdditional CSS classes
childrenReact.ReactNodeDescription content, supports text, paragraphs, and lists
Last updated on