Chips
Interactive tag elements with close and select functionality. Ideal for filters, selections, and input tags.
Solid Chips
PrimarySecondarySuccessDangerWarningInfoDarkLight
Soft Chips
PrimarySecondarySuccessDangerWarningInfoDarkLight
Outline Chips
PrimarySecondarySuccessDangerWarningInfoDarkLight
Sizes
Add .lp-chip--sm or .lp-chip--lg.
Small
Default
Large
Icon Left
Place a .material-symbols-outlined icon before the label text.
face User
check_circle Verified
error Error
info Info
warning Warning
Icon Right
Place the icon after the label text.
Next arrow_forward
Done check
Link open_in_new
Delete delete
Settings settings
Icon Only
Chips with just an icon, no label text.
favorite
check
close
star
bolt
Avatar Chips
Add an .lp-chip-avatar image inside the chip.
Closable Chips
Chips with .lp-chip-close can be dismissed. Uses the Chip JS component for animated removal.
JavaScript
TypeScript
Python
Ruby
Go
Rust
Selectable / Filter Chips
Add .lp-chip--selectable for toggle-able chips. Uses JS to toggle .lp-chip--selected state.
check Design
check Development
check Marketing
check Sales
check Support
Disabled Chips
Disabled
Primary
Soft Success
Outline Danger
CSS Reference
| Class | Description |
|---|---|
.lp-chip | Base chip (neutral border style) |
.lp-chip--{color} | Solid color variant (primary, secondary, success, danger, warning, info, dark, light) |
.lp-chip--soft-{color} | Soft/pastel background variant |
.lp-chip--outline-{color} | Outline/bordered variant |
.lp-chip--sm | Small size (26px height) |
.lp-chip--lg | Large size (40px height) |
.lp-chip-avatar | Avatar image inside chip |
.lp-chip-close | Close/dismiss button |
.lp-chip--selectable | Makes chip clickable/toggleable |
.lp-chip--selected | Selected state (with check indicator) |
.lp-chip-check | Check icon wrapper (visible when selected) |
.lp-chip--disabled | Disabled state |
data-lp-component="chip" | Activate JS close/select behavior |