Content
Tag
A pill label with an optional colour dot and a remove button.
Group: Content. Exports: Tag. Halaska addition with no shadcn/ui equivalent.
Usage
import { Tag } from "./halaska-kit";
Tag props
childrenReactNode: Content.colorstring:removableboolean:onRemovefunction:
Accessibility
- The remove control is a native button labelled "Remove", so Tab reaches it and Enter or Space activates it.
- That label does not include the tag's text, so several tags read the same.
- The colour dot is decorative and hidden from screen readers.
Used in
Halaska UI · Components · Patterns · Screens · Install