<Alert />

base/alert.svelte

"Then they were informed, then they were messaged, then they were alerted."
Br Jhons, 1752

Component Alert examples :
Using slots
component Alert demo using slots
Simple alert
Simple alert with a button
Alert with button close

description here here
isOpen boolean
level string
code

<Alert >
	Simple alert with a button
	<Button slot="topButtonSlot">button</Button>
</Alert>
Using props
component Alert demo using props
undefined
isOpen boolean
level string
code

<Alert />	
Api preview :
__propDef: {
    props: {
        class?: string | undefined;
        element?: HTMLDivElement | null | undefined;
        /** type of levels */ level?: ("alert" | "error" | "success" | "info" | "warning" | "discrete") | undefined;
        action?: (() => void) | undefined;
        data?: {} | undefined;
        text?: string | undefined;
        message?: string | undefined;
        isDragable?: boolean | undefined;
        isOpen?: boolean | undefined;
        actions?: any;
    };
    events: {
        [evt: string]: CustomEvent<any>;
    };
    slots: {
        default: {};
        topButtonSlot: {};
        messageSlot: {};
        buttonZoneSlot: {};
    };
};