Chip

Chips display user selections or search terms.

Anatomy

Anatomy

Anatomy

Item

Name

Description

Component

1

Container

Holds the Chip's content.

-

2

Text

The Chip's text content.

-

3

Close

Enables users to remove the Chip.

Bare Icon Button


Specification and properties

Sizing

Chips have a fixed height, with the width determined by the label's length.

Sizing

Sizing

Property

Value

Token

Height

24px

sizing.300

Width

Auto

-

 

States

States

Item

State

Description

1

Default

The default style before user interaction.

2

Hover

Indicates interactivity when the user hovers over the Chip.

3

Active

Indicates the state when the user clicks or presses on the Chip.

 

Spacing

Spacing

Variant

Property

Value

Token

1. Close: True

Padding left

8px

spacing.100

 

Padding right

4px

spacing.50

 

Gap

4px

spacing.50

2. Close: False

Padding left

8px

spacing.100

 

Padding right

8px

spacing.100

 

Disabled

A disabled chip remains visible in the interface, indicating that an action is temporarily unavailable but still relevant in context.

Disabled

Error

An error chip draws attention to a problem that requires resolution, often used in forms or interactive elements where validation is needed.

Error

Close

Chips include a Close button by default, allowing users to remove them from the interface when needed.

Close Button

Item

Value

Description

1

true

Displays the Close button.

2

false

Hides the Close button.