Badge
A versatile badge component for highlighting information, status, or categories with distinct visual styles and animations.
1Installation
npm i elementra-ui2Add Components Using CLI
npx elementra-ui addSelect components using the up/down arrow keys. Press spacebar to select multiple components, then press enter to add them to your src folder.
3Component Preview
DefaultPrimarySecondarySuccessWarningDangerInfoOutline
4Basic Usage
Import and Use
import { Badge } from "@/components/ui/badge";
export default function BadgeExample() {
return <Badge>Default</Badge>;
}