All Variants

Four semantic types with left accent borders, icons, titles, and messages.

Custom Icons

Any Lucide icon name works with the icon prop.

Custom Content

Use children for richer body content.

You last logged in 3 days ago. Check out what is new.
Unusual login detected from a new device.

Usage

<Notification type="info" title="System Update" message="New version available." icon="bell" /><Notification type="success" title="Payment" message="Payment processed." icon="check-circle" /><Notification type="info" title="Welcome" icon="sparkles"> You last logged in 3 days ago.</Notification>

Props

PropTypeDefaultDescription
typetext"info"Variant: info, success, warning, error
titletext""Notification heading
messagetext""Description text
icontext"bell"Lucide icon name
childrencontent-Custom body content