Chips
Interactive tag elements with close and select functionality. Ideal for filters, selections, and input tags.
Default Chip
Default
tag With Icon
Closable
Solid Chips
PrimarySecondarySuccessDangerWarningInfoDarkLight
Soft Chips
PrimarySecondarySuccessDangerWarningInfoDarkLight
Outline Chips
PrimarySecondarySuccessDangerWarningInfoDarkLight
Sizes
Add .lp-chip-sm or .lp-chip-lg.
Small
Default
Large
Chips with Icons
face User
check_circle Verified
error Error
info Info
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 |