# KptChip (kpt-chip) A chip / tag - a label, optionally removable. Import: `import { KptChip } from '@konce-pt/angular';` ## Inputs / outputs - `variant`: 'neutral'|'primary'|'success'|'danger'|'warning'|'info' - `textTransform`: 'none'|'capitalize'|'uppercase'|'lowercase' (default 'none') - the label's letter case - `removable`: boolean (a x button); `disabled`: boolean; `removed`: output ## Examples Angular UI new, starter kit ## Letter case `textTransform` sets `text-transform` on the chip, so the label can stay in the application's own wording while the chip decides how it is displayed. `capitalize` raises the first letter of every word - **including after a hyphen** ("Agent-Ready"), because CSS does not know where a compound word ends. For labels with a hyphen, spelling it out in the content is the exact route. ## Tokens A color-mix background over the variant, `--kpt-color-muted` (neutral). Status variants color the text with `color-mix(in oklab, --kpt-color- 65%, --kpt-color-on-surface)` - the bare status color is too light for text (success 2.7:1 on the tinted background); the mix keeps the hue at min. 4.67:1 in both themes. ## Accessibility The label sits in `.kpt-chip__label`, and the remove button is named by `aria-labelledby` from itself plus that label - "Remove Angular" - so with several chips a screen reader user hears which one goes. `Backspace` and `Delete` on the button work like a click. After removal focus falls back to the page; move it to the next chip yourself.