shadcncraft

Tagline

Component 7

About

A small tagline or eyebrow label with badge, outline, ghost, and pill variants for marketing sections.

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

Code

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

Usage.tsx

import { Tagline } from "@/components/ui/tagline";

export default function TaglineDemo() {
  return (
    <div className="flex flex-col items-center gap-4">
      <Tagline>Introducing</Tagline>
      <div className="flex flex-wrap items-center justify-center gap-2">
        <Tagline variant="primary">New</Tagline>
        <Tagline variant="secondary">Beta</Tagline>
        <Tagline variant="badge">v2.0</Tagline>
        <Tagline variant="outline">Popular</Tagline>
        <Tagline variant="ghost">Coming soon</Tagline>
      </div>
    </div>
  );
}

Dependencies

More by shadcncraft

View all
  • Star Rating

    Star Rating

    12
  • Profile Card

    Profile Card