The Controlled example from the Badge docs.
npx shadcn@latest add @hextaui/badge-controlled
badge-controlled