Skip to main content
Context GrammarContext-aware AI

Banner and callout

Inline notices. A banner leads with a spark rule; a callout takes a tone — info, warning or success — and says it in words.

Variant

Info

Something worth knowing.

Controls

▾

Code

import { Callout } from "@/components/ui/kit/feedback";

<Callout title="Info" body="Something worth knowing." />

Every state

Banner

Notice
A banner with the spark rule.
A neutral banner.

Callout

Info

Something worth knowing.

Warning

Check this before you go on.

Done

It worked.

Usage

Do

  • Put a callout right next to what it is about, before the step it affects.
  • Choose the tone from the content: warning for a risk, success for something done.

Don’t

  • Don’t stack several callouts; if everything stands out, nothing does.

Tokens it uses

Tokens it uses
--paper-2…
--line…
--ink…
--ink-2…
--ok…
--ok-tint…
--warn…
--warn-tint…
--font-display…
--font-body…

Values are read live from the stylesheet, so they follow the site theme.