Skip to content

Chip - Web Component

The Chip component can be used imported from:

Playground

Parameters

...

Events

This component has events. Check the documentation about how to use the events.

NamePayloadDescription
clickMouseEventFires when the chip is clicked.

Slots

This component has slots. Check the documentation about how to use the slots.

NameTagsDescription
defaultspanContent of the chip.

Parameters use

content

The text or content inside the chip. It uses the default slot too.

Button

Flags

disabled

The attribute disabled will block the interaction with the component

Disabled chip
readonly

The attribute readonly will make the component to behave as a readonly component.

Readonly chip

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

HTML Examples

CodeSandbox example