Compact label with solid and dot variants, Tailwind color palette, and three sizes.
"use client"; import { Badge } from "@/components/ui/badge-fluid-functionalism"; function Demo() { return ( <div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8"> <div className="flex items-center gap-2"> <Badge variant="dot" color="green"> Online </Badge> <Badge variant="dot" color="amber"> Pending </Badge> <Badge variant="dot" color="red"> Failed </Badge> </div> </div> ); } export default { Demo };
Part of Fluid Functionalism — browse the full library on 21st.dev.