L
LocalMode

Editable Label Set · LocalMode

An editable set of color-cycling removable chips managing a candidate-label list (zero-shot candidate labels or any string-tag collection): hover-reveal remove, inline add input (Enter to commit, Backspace-on-empty to remove last). Fully controlled via labels / onAdd / onRemove, cycling a CSS-variable palette by index. Feeds useClassifyZeroShot candidate labels.

npx shadcn@latest add https://localmode.ai/r/ui/results/editable-label-set.json
Preview Editable Label Set on LocalMode's site (opens in a new tab)
Loading the source for ui/results/editable-label-set…

ui/results/editable-label-set