ComponentsData Display
Alert
Display important messages and notifications
Examples
Info Alert
{
"type": "alert",
"title": "Info",
"description": "This is an informational message"
}Destructive Alert
{
"type": "alert",
"title": "Error",
"description": "Something went wrong",
"variant": "destructive"
}Schema
interface AlertSchema {
type: 'alert';
title?: string;
description?: string;
variant?: 'default' | 'destructive';
icon?: string;
className?: string;
}