Badge

Component
View in Storybook

Displays a badge or a component that looks like a badge with glassy variant.

Installation
Install this component using the shadcn CLI with your preferred package manager
pnpm dlx shadcn@latest add @crenspire/badge
Usage
Example code for using this component
Glass Badge
Default
Secondary
Destructive
Props
Component props and variants

This component supports the following variants:

  • default - Standard styling
  • glass - Glassmorphism effect (default)