Browse the docs
Feedback / Callout

Callout

A strip torn off a pad. Use it for things people need to know before they act, not for decoration.

Server ComponentWCAG AASince v0.1

Two responders are near this pin

Mobile 2 and Mobile 5 are both within 2 km.

Location is approximate

Confirm a landmark before dispatching.

Couldn’t reach the station

Your report is saved on this phone.

Report received

Reference number 24-1187.

Change every prop live in the playground.

Props

PropTypeDefaultWhat it does
title requiredReactNode——
actionReactNodenoneA button under the text, e.g. "Try again".
buddyboolean | BuddyMoodnoneA character peeks over the strip: `true` picks one for the tone (Specs, Snooze, Bix, Pip), or name a mood.
childrenReactNodenone—
classNamestringnone—
headingLevel2 | 3 | 43Heading level of the title.
role"alert" | "status"none (it is just content)`alert` for errors that need attention right away.
tiltnumber-0.5Rotation in degrees.
tone"success" | "error" | "info" | "warn"infoSets the color and icon: info, warn, error or success.

Use it well

DoPut the callout right before the action it's about.
Don'tStack callouts at the top of a page. People stop reading them.

Accessibility

  • Every tone has an icon and a title; color only repeats it.
  • Pass role="alert" for errors that need attention right away.
Five stamps!

All aboard.

You took the whole tour. Here's Holo Pip, a foil sticker for riders who finish. It's in your playground tray now, for good.