Ballmac UI home

Callout

An editorial guidance panel with a clear kind label, icon, title, and optional action.

Installation

$ pnpm dlx shadcn@latest add @ballmac/callout

Usage

import { Callout } from "@/components/ballmac/callout"

The full example is in the Code tab above.

Examples

States and variants

API reference

PropTypeDefault
title*

Headline for the guidance.

string—
kind

Guidance type, represented by both icon and text.

"tip" | "note" | "caution""tip"
action

Optional action link or button.

React.ReactNode—

Also accepts the standard attributes of its root element.

Accessibility

KeyAction
TabFocus an optional action

Use with AI

An editorial guidance panel with a clear kind label, icon, title, and optional action. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Callout (@ballmac/callout) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Add contextual guidance to docs or settings
  • Explain a recommended next step

Not for

  • Use alert for urgent system feedback

Registry JSON: https://ui.ballmac.com/r/callout.json

Credits

Free to use in personal and commercial projects.

Registry
shadcn/utils