Inline Notification
A contextual notification that appears inline with content.Anatomy
Components
InlineNotification.Root
The root container for the inline notification.Visual tone that determines the icon and colors. Options:
neutral, info, success, warning, dangerVisual variant. Options:
default, filledCustom icon element. If not provided, displays a tone-appropriate icon.
Additional CSS classes
InlineNotification.Icon
Icon that indicates the tone of the notification.Visual tone. Options:
neutral, info, success, warning, dangerAdditional CSS classes
InlineNotification.Content
Container that groups text and actions.Additional CSS classes
InlineNotification.TextWrapper
Groups title and description.Additional CSS classes
InlineNotification.Title
The title text of the notification.Additional CSS classes
InlineNotification.Description
The description text of the notification.Additional CSS classes
InlineNotification.Actions
Container for action buttons.Additional CSS classes
InlineNotification.Action
Action button. Uses tertiary variant for notifications with descriptions, link-neutral for compact notifications.Additional CSS classes
InlineNotification.Close
Button to dismiss the notification.Callback when close button is clicked
Additional CSS classes
Variants
default
Neutral background with tone-colored icon and text.filled
Tone-colored background for higher emphasis.Tones
neutral
Neutral informational tone.info
Informational feedback (blue).success
Success feedback (green).warning
Warning feedback (yellow/orange).danger
Error or critical feedback (red).Layout Modes
The component automatically adapts between two layout modes based on whether a description is present:Compact (no description)
- Horizontal layout with centered items
- Smaller height (36px minimum)
- Link-style actions
- Separator before actions
Card (with description)
- Vertical/stacked layout
- Larger padding
- Tertiary button-style actions
- No separator