Stavový odznakZdarma
Stavy živě, nečinný a chyba.
Vlastnosti
Vzhled
Platí jen pro tuhle komponentu a zůstane uložené, když se sem vrátíš.
#ff3347
#b3122a
Pozadí náhledu
Instalace
$
npx shadcn@latest add https://nex-ui.eu/r/status-badge.jsonPoužití
import { StatusBadge } from "@/components/nex-ui/status-badge";
<StatusBadge
labels={{ live: "Živě", idle: "Nečinný", error: "Chyba" }}
/>