KeywordItem
One learned keyword in ShoppingPreferences, as a wrapping label with an optional remove control.
KeywordItem
One keyword the assistant learned, on the keywords tab of ShoppingPreferences. The label wraps rather than truncates, because a clipped keyword cannot be told apart from its neighbours. The remove control emits nothing itself. ShoppingPreferences reports the press on its own surface.
Interaction Phases
State space: none. This item renders no phase treatment of its own.
Politeness is not announced — this item carries no live region.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-foreground-primary--augds-foreground-tertiary--augds-interaction-hover-light--augds-radius-primitive-12--augds-type-label-md-medium-line-height--augds-type-label-sm-regular-line-height
Source
src/components/ui/keyword-item/keyword-item.tsx