Syed

Tier Badge

Component 43

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

    138
  • Agency Bento Grid

    Agency Bento Grid

    90
  • Morphing Island Navbar

    Morphing Island Navbar

    82
  • SpatialCardCarousel

    SpatialCardCarousel

    77
  • Emotion Wheel v2

    Emotion Wheel v2

    70
  • Animated Tree View

    Animated Tree View

    60
  • Interactive Eye Tracker

    Interactive Eye Tracker

    60
  • Rolling Counter

    Rolling Counter

    56