Hero Badge

An animated badge component with icon support, perfect for hero sections and announcements.

Installation

pnpm dlx shadcn@latest add https://sase-ui.vercel.app/r/hero-badge.json

Usage

import { HeroBadge } from "@/components/ui/hero-badge";
import { Sparkles } from "lucide-react";
<HeroBadge icon={Sparkles} variant="violet">
  Introducing the future of productivity
</HeroBadge>

Variants

The badge supports three variants: default, violet, and amber.

<HeroBadge variant="default">Default Badge</HeroBadge>
<HeroBadge variant="violet">Violet Badge</HeroBadge>
<HeroBadge variant="amber">Amber Badge</HeroBadge>