Skip to main content
Version: Next

Toast

The Toast component provides lightweight notification messages using semantic custom elements.

Ignix Lite toasts support semantic intents, motion variants, positions, and accessible live regions.

[!NOTE] Unlike pure CSS/HTML components in Ignix-Lite, Toast is a dynamic notification component that requires JavaScript for its lifecycle and triggers. Its visual styles are configured via data-* attributes on <ix-toast> but the toast instances are instantiated and triggered using the .show() JavaScript helper method.


Intent Variants


Motion Variants


Position Variants

Usage


Attributes

AttributeTypeDescription
data-intent'neutral' | 'primary' | 'success' | 'warning' | 'danger' | 'gradient'Applies semantic styling
data-variant'fade' | 'slide' | 'pop' | 'action'Applies motion style
data-position'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'bottom-center'Controls toast placement