Control panels · component · 5K
A Labels control panel: the seven Finder label colours, each with an editable name. onChange hands you all seven names to pass to FinderLabelTag and finderLabelName().
Each field is named "Label 1 name (orange)" and so on, since the swatch itself is not text; override with labels.field and labels.colors. A name left empty returns to its default when the field loses focus. Swatches keep their colour in forced colours.
pnpm dlx shadcn@latest add @s7ui/labels-panelThis example also uses @s7ui/file-label @s7ui/window.