components / callout

callout.

inline notice attached to the thing it's about — the counterpart to toast, which interrupts from a corner and leaves. aria role follows severity: danger asserts, warn and success announce politely, a plain note stays silent.

times are shown in your zone

we detected america/los_angeles. change it below if that's wrong.

booked

wednesday, august 5 at 9:30 am. the invite is on its way.

this slot is tight

you have another meeting ending 15 minutes before this one.
installation
bunx @justin06lee/chrome@latest add callout
props
nametypedefaultdescription
variant'note' | 'success' | 'warn' | 'danger''note'tone. only warn and danger spend colour; the rest stay on the opacity ladder.
titleReactNode-bold first line. omit for a single-line callout.
childrenReactNode-body copy.
iconLucideIcon | null-replaces the variant's default icon; null drops it entirely.
onDismiss() => void-adds a close button. presentational — the caller owns visibility.
actionReactNode-trailing slot under the copy, e.g. a retry button.
classNamestring-