Syed

Tier Badge

Component 36

About

Interactive luminous tier badge pills with radiant curved glow accents

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

Code

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

Usage.tsx

"use client";

import React, { useState } from "react";
import { TierBadge, type BadgeTier } from "@/components/ui/tier-badge";

export default function Demo() {
  const [selectedTier, setSelectedTier] = useState<BadgeTier>("ultra");

  const tiers: BadgeTier[] = ["free", "pro", "ultra"];

  return (
    <div className="flex min-h-[420px] w-full flex-col items-center justify-center bg-slate-50 dark:bg-[#07090d] p-8 transition-colors">
      {/* Badges in a single horizontal row */}
      <div className="flex flex-row flex-wrap items-center justify-center gap-6 sm:gap-8">
        {tiers.map((tier) => (
          <TierBadge
            key={tier}
            tier={tier}
            size="md"
            isActive={selectedTier === tier}
            onClick={() => setSelectedTier(tier)}
          />
        ))}
      </div>
    </div>
  );
}

Dependencies

More by Syed

View all
  • Animated Beam Integration

    Animated Beam Integration

    108
  • Agency Bento Grid

    Agency Bento Grid

    80
  • Morphing Island Navbar

    Morphing Island Navbar

    61
  • Animated Tree View

    Animated Tree View

    49
  • Rolling Counter

    Rolling Counter

    46
  • Interactive Eye Tracker

    Interactive Eye Tracker

    45
  • Grid Testimonials Marquee

    Grid Testimonials Marquee

    36
  • Morphing Language Selector

    Morphing Language Selector

    36