v1.2.0

Chip

Chips are compact elements that represent an input, attribute, or action.

Filled Chips

Default Primary Secondary Error Success Warning Info
<me-chip>Default</me-chip> <me-chip color="primary">Primary</me-chip>

Outlined Chips

Default Primary Secondary Error
<me-chip variant="outlined" color="primary">Primary</me-chip>

Clickable

Clickable Primary Outlined

Deletable

Click the ✕ icon to remove a chip. The chip fires a me-delete event — your code removes it.

Deletable Primary Clickable + Deletable
<me-chip deletable>Deletable</me-chip> <script> document.querySelectorAll('me-chip[deletable]').forEach(chip => { chip.addEventListener('me-delete', () => chip.remove()); }); </script>

Sizes

Small Medium (default) Small deletable

Disabled

Disabled Disabled primary Disabled outlined

API

AttributeTypeDefaultDescription
variantfilled | outlinedfilledVisual style.
colordefault | primary | secondary | error | success | warning | infodefaultChip color.
sizesmall | mediummediumChip size.
clickablebooleanfalseMakes the chip clickable with ripple.
deletablebooleanfalseShows a delete icon button.
disabledbooleanfalseDisables the chip.

Events

EventDescription
me-deleteFired when the delete icon is clicked.