interface QChipProps extends HTMLAttributes<HTMLDivElement>
?: boolean = false?: boolean = undefined?: MaterialSymbol | `img:${string}` = undefined
?: QChipKindOptions = "assist"
?: string = undefined?: boolean = false?: MouseEventHandler<HTMLElement> = undefined
?: boolean = $bindable(kind === "filter" ? false : undefined)
?: Exclude<QSize, "none" | "xs" | "xl"> = "sm"
?: MaterialSymbol | `img:${string}` = undefined
?: string = undefined?: string = $bindable(undefined)
kind="filter" chips bind selected to refine a collection. Selected chips
replace their leading icon with a check. Try a suggestion, combine categories, or use the sun
chip's separate information action without changing its selection.6 varieties to explore
Assist is the default kind. Assist, filter, and suggestion chips are outlined
by default; elevated adds a surface and shadow. disabled keeps unavailable
actions out of the keyboard order.
value to edit a packet name. The trailing action removes it; Enter, Escape, or leaving
the editor returns to the chip while keeping the current text.Basil is in your envelope. Add something new.
This reminder has no editable value. Its label and close icon form one removal action.
Tab reaches editing and removal separately. Space or Enter activates a focused action;
Backspace or Delete removes a focused input chip. Customize the removal name with trailingIconLabel. Sizes are sm (default), md, and lg.
icon with img: for an avatar. An input chip's displayed label can be shorter than its editable value: this partner chip
shows a name while preserving the contact address.Ada Rivers <ada@seed.example>
Choose the assist chip to show the swap location.
Use onclick for contextual actions and onTrailingIconClick for a
separate trailing action. Add a class to use theme colors. Ripple feedback is enabled by
default; the location chip uses noRipple. Suggestion and assist chips do not
support trailing icons, and input chips do not use elevation.