Sean Hello

Base Badge

Component 2

About

A customizable badge component built with Base UI and useRender hook for composition.

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

Code

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

Usage.tsx

import { Badge } from '@/components/ui/base-badge';

export default function BadgeDemo() {
  return (
    <div className="flex items-center gap-4">
      <Badge variant="primary" appearance="ghost" disabled>
        Ghost
      </Badge>
      <Badge variant="primary" disabled>
        Solid
      </Badge>
      <Badge variant="primary" appearance="light" disabled>
        Light
      </Badge>
      <Badge variant="primary" appearance="outline" disabled>
        Outline
      </Badge>
    </div>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.3K
  • Line Charts 9

    Line Charts 9

    632
  • Alert

    Alert

    492
  • Area Charts 1

    Area Charts 1

    384
  • Line Charts 6

    Line Charts 6

    382
  • Scroll Area

    Scroll Area

    376
  • Area Charts 2

    Area Charts 2

    316
  • Navigation Menu

    Navigation Menu

    305