YYonda UI Docs

Alert

Persistent inline banner for page-top status — booking pending, promo active, session expiring, error boundaries. Different from Toast (transient bottom-right notification): Alert sits inline until the user dismisses it or the underlying condition changes. Five semantic variants share the platform's status token palette.

Booking pending confirmation

We're waiting on the property to confirm your dates. This usually takes 15 minutes.

Booking confirmed

Your Bali getaway is locked in. Check your inbox for the itinerary.

Price dropped by $200

The property you're viewing is now cheaper than when you last checked.

Non-dismissable

Omit onDismiss for critical states that shouldn't be dismissable — pending confirmations, session warnings, payment failures.

With actions

Optional actions slot renders inline after the description. Use for retry, undo, or navigate-away CTAs.

Rich description

description is a ReactNode so links / lists / formatted content work.

New feature available

Find more interface examples in the component library.

No icon

Pass icon={null} to suppress the default variant icon.

Compact status line

Sometimes the icon is redundant.