Dev Design Library

Badge

A badge component with multiple color variants and sizes.

Badge preview
Library
Spell UI
Framework
React
Type
component
License
MIT
Dependencies
@radix-ui/react-slot, class-variance-authority
Install
npx shadcn@latest add "https://spell.sh/docs/badge.md"
Files
  • registry/spell-ui/badge.tsx
  • lib/utils.ts
  • lib/config.ts
Source
https://github.com/xxtomm/spell-ui

Categories

More from Spell UI