Alert

Paper-styled notification cards with a 3-level elevation system.

Default

The default alert uses medium shadow (Level 3), suitable for general notifications.

Elevation

Three elevation levels for different contexts. Alerts are always standalone - use outlined for subtle notifications in dense layouts.

Interactive Alerts

Alerts can be shown and dismissed dynamically with smooth animations.

Standard Variants

Color variants for different message types: info, success, warning, and error.

Soft Variants

Gentler color treatment for less visual noise, using muted backgrounds.

Notification Stack

Multiple alerts stacked vertically with dismiss functionality.

Without Icon

Long Content

API Reference

Alert component with 3-level elevation system and multiple color variants.

Alert

PropTypeDescription
variant"default" | "info" | "success" | "warning" | "destructive" | "soft-*"Color variant for semantic meaning
elevation"elevated" | "default" | "outlined"Shadow level

Elevation Levels

ElevationShadowUse Case
elevatedStrongHero announcements, standalone
defaultMediumGeneral notifications
outlinedNone (border)Dense layouts, sidebars