Syed

Tier Badge

Component 46

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

    150
  • Emotion Wheel v2

    Emotion Wheel v2

    137
  • SpatialCardCarousel

    SpatialCardCarousel

    122
  • Agency Bento Grid

    Agency Bento Grid

    95
  • Morphing Island Navbar

    Morphing Island Navbar

    90
  • Projec tWorkflow Tree

    Projec tWorkflow Tree

    88
  • Unlimited Design Hero

    Unlimited Design Hero

    83
  • Schedule Calendar

    Schedule Calendar

    67