Callout
A highlighted message component for important information, warnings, or tips.This component's API and documentation are under review and may change. Use with caution in production.
Callout draws attention to important information with a visually distinct container. Use it for tips, warnings, errors, and other messages that need to stand out from regular content.
This is an enhanced version of the Callout from Radix Themes.
Playground
This is an informational callout message.
Installation
Usage
Anatomy
The Callout component is composed of three parts:
Callout.Root- The container that holds the icon and textCallout.Icon- Optional icon slot for visual emphasisCallout.Text- The message content
Props
Callout.Root
Variants
Soft
The default variant with a subtle tinted background.
Surface
Elevated appearance with a light background.
Outline
Bordered with transparent background.
Classic
A refined, subtle appearance.
Semantic Colors
Use colors to convey meaning.
Sizes
Control callout size with the size prop.
Without Icon
The icon is optional. Use text-only callouts for simpler messages.
Accessibility
Callouts use ARIA live regions by default (aria-live="polite"). For urgent messages, use live="assertive". For decorative callouts, use live="off".
© 2026 Kushagra Dhawan. Licensed under MIT. GitHub.