Toast

Display transient notifications with Maddex Toast, including type variants, inline actions, and positioned updates.

Installation

$npx maddex add Toast

Types

Match the shadcn-style type demo with a few common variants so you can test the default, success, info, and error states in the same viewport.

Preview

        
            
        
    

Description and Actions

Add descriptive copy and inline actions when a toast needs to guide the next step instead of only confirming an event.

Preview

        
            
        
    

Position and Dismissal

Reuse a toast id to promote a loading state into success, pin it to a different viewport position, and dismiss it on demand.

Preview