Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Install
195 components

InfoTip

The ⓘ. Extra context that survives touch, because it opens on press.

npx shadcn add @lopifi/info-tip

How it behaves

What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.

The ⓘ. Additional context, reachable on every input.

<InfoTip about="Why this account needs reconnecting" label="This balance may be out of date">
  Mercury revoked this connection's authorization. Last synced 21 Sep 2026, 09:12 UTC.
</InfoTip>
interface InfoTipProps {
  /** An optional bolded first line. A term; omit it for a plain sentence. */
  label?: React.ReactNode;
  children: React.ReactNode;
  /** The affordance's accessible name — "About available balance". */
  about: string;
  side?: "top" | "bottom" | "left" | "right";
  align?: "start" | "center" | "end";
  /** Replaces the ⓘ glyph — a warning triangle beside a broken state, say. */
  trigger?: React.ReactNode;
}

A Popover, not a Tooltip. It opens on hover with a fine pointer, on press everywhere, and on keyboard focus, so the sentence inside is reachable on a phone. That's why it can hold a real sentence. Escape and an outside press close it. 16px glyph, 40px hit area, --text-tertiary at rest.

Use it to shorten an alert. "Reauthorization required — this balance may be out of date" in a one-third-width card wraps to three lines and reads as a paragraph in a strip meant to show a state. "Reauthorization required" plus an ⓘ fits on one line, and the explanation is one press away instead of always in the way.

Never put an action, a link the user must follow, or the only copy of a number inside one.

Read the Primitives spec

The accounting it encodes

The concepts this component renders, each defined once in the lexicon.

More in Primitives

See also

Where this component is specified, defined and running.

Elsewhere in the system

The live section InfoTip renders in, the calculators behind its figures, and the ledger payloads that feed it.

Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.

Release notes

Get an email when Primitives changes

Your copy doesn’t update itself when we fix something here.

  • One email when a Primitives component needs a migration
  • Nothing when nothing changes

We don’t rent the list, and asking takes you off it. We use this to reply and to send the updates you asked for. To unsubscribe, reply to any email or write to hello@lopifi.com. See Privacy.

Or install it now

npx shadcn add @lopifi/info-tip