ComponentsCallout

displaytexulinot agent-emittableapp

Callout

callout

Emphasized documentation-style tip with a strong start edge.

Live examples

Info callout

Info callout

Loading demo…

Props

Public props for Callout
NameKindRequiredDefaultDescription
toneenum (info, success, warning, error, brand, neutral)no"info"—
titlestringno—Optional heading
textstringno—Body copy
hideIconbooleannofalse—
iconslotno—Custom icon snippet
actionLabelstringno——
actionHrefstringno—Optional action link (URL policy)
onActioneventno——
dismissiblebooleannofalse—
dismissLabelstringno"Dismiss"—
onDismisseventno——
classstringno——

Keyboard

Keyboard behavior for Callout
KeyAction
—See accessibility notes for keyboard behavior.

Accessibility

  • Same tone roles as Alert; never color-only meaning.

Evidence for callout

Latest committed gates for callout (as of 2026-10-23). Static snapshot — not live CI.

Behavior

n/ano behavior scenario

No dedicated behavior scenario for this catalog id (a styled or display surface, covered by its unit and axe tests).

Size (gzip)

texuli/callout · budget 12.0 KiB

Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.

Axe

documented

  • tests/e2e/site-component-pages.spec.ts
  • docs/quality (a11y-*)

Site component pages axe gate; package-level a11y docs under docs/quality when present.

Browsers

  • chromium
  • webkit
  • mobile

Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.

When to use

Use when

  • Highlight a tip or note beside prose

Don’t use when

Prefer another component

  • A blocking error (use alert with error tone)
  • A site-wide notice (use banner)