keshav-exe

Callout

Component

About

An MDX-style aside box between paragraphs for a note, tip, warning, or danger callout with a dot-grid ASCII-style frame.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Callout to your project and fits it to your theme.

Code

How Callout is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Callout from "@/components/ui/callout";

export default function CalloutDemo() {
  return (
    <div className="flex w-full max-w-xl items-center justify-center p-8">
      <Callout type="warning">
        The CLI copies files into registry/default. It does not add an npm
        dependency, so there is nothing to update later — edit the source.
      </Callout>
    </div>
  );
}

Dependencies

More by keshav-exe

View all
  • Terminal

    Terminal