Components

Chip

A component that displays a value the user selects or enters.

FigmaReactLynxiOSAndroid
Chip cover image

Anatomy

Anatomy image of Chip. Consists of Container, Label, Prefix Item, and Suffix Item.

Chip consists of a Container and a Label, and can have a Prefix Item and a Suffix Item.

Properties

Variant

Chip Variant Property - Solid, Outline Strong, Outline Weak

Chip has three style variants: Solid, Outline Strong, and Outline Weak. Each can show a selected state.

Size

Chip Size Property - Large, Medium, Small

Chip has three sizes: Large, Medium, and Small.

State

Chip State - Enabled, Pressed, Disabled

Chip has Enabled, Pressed, and Disabled states depending on whether it is selected.

Prefix Property

Chip Prefix Property - Icon, Avatar, Image

The Prefix Slot is positioned to the left of the Label. Prefix provides three preset types: Icon, Avatar, and Image.

Since the left margin varies depending on the element placed in the Prefix Slot, using a Custom Slot is not recommended.

Suffix Property

Chip Suffix Property - Icon, Custom

The Suffix Slot is positioned to the right of the Label. Suffix provides the Icon type as a preset.

If you want to use an element other than the included type, change it via Custom Child Swap.

Guidelines

Uses of Chip

Chip, Chip Group

Filter Bar

Tabs - Chip Variant

Chip can be used standalone to display a value the user selects or enters, and when using multiple Chips together, use the Chip Group template.

Chip Group can be used for suggested items (Suggestion) or single/multiple selection (Selection).

When used as a Filter role controlling the application and removal of conditions in a content list, use the Filter Bar template.

When using Chip as a Tab, use the Chip Variant of the Tabs component.

Chip Group Layout

Chip Group Layout - Scrollable and Overflow layouts

Chip Group can be displayed in two ways: Scrollable Layout, which displays on a single line, and Overflow Layout, which displays all Chips.

Filter Bar

Example of using Filter Bar - filter inactive and filter active

When using Chip as a Filter role controlling the application and removal of conditions in a content list, use the Filter Bar template.

The Filter Bar includes behavior where a Clear button appears to deselect the filter when an active filter exists.

Using Chip as Selection

Example of using Chip as Selection - multiple selection and single selection

Chip Group can be used for single or multiple selection actions such as filter items or input forms. Since multiple Selected values may be shown on screen, using the lower-prominence Outline Weak style is recommended.

Using Chip as Suggestion

Example of using Chip as Suggestion - chat suggested messages, suggested search terms

Chip can be used for items suggested to the user. Choose the style based on the combination with other elements on the screen.

Using Chip as Input

Example of using Chip as Input - includes Remove button in Suffix

Content entered by the user can be displayed in a Chip. In this case, use a Remove button in the Suffix Slot that can remove the Chip.

Specification

base

StateSlotPropertyValue
enabledrootcolorDuration
colorTimingFunction
cornerRadius
prefixIconpaddingLeft
prefixAvatarsize
suffixIconpaddingRight
labelfontWeight
paddingX
iconcolor
pressedrootscaleScope

variant=solid

  • 기본 스타일입니다.
StateSlotPropertyValue
enabledrootcolor
labelcolor
prefixIconcolor
suffixIconcolor
iconcolor
pressedrootcolor
disabledrootopacity
selectedrootcolor
labelcolor
prefixIconcolor
suffixIconcolor
iconcolor
selected, pressedrootcolor
selected, disabledrootopacity

variant=outlineStrong

  • 명확한 구분이 필요한 경우 사용합니다.
StateSlotPropertyValue
enabledrootcolor
strokeColor
strokeWidth
labelcolor
prefixIconcolor
suffixIconcolor
iconcolor
pressedrootcolor
disabledrootopacity
selectedrootcolor
labelcolor
prefixIconcolor
suffixIconcolor
iconcolor
selected, pressedrootcolor
selected, disabledrootopacity

variant=outlineWeak

  • Selection 사용 시 주목도가 낮은 스타일로 권장됩니다.
StateSlotPropertyValue
enabledrootcolor
strokeColor
strokeWidth
labelcolor
prefixIconcolor
suffixIconcolor
iconcolor
pressedrootcolor
disabledrootopacity
selectedrootstrokeColor
color
selected, pressedrootcolor
selected, disabledrootopacity

size=small

StateSlotPropertyValue
enabledrootheight
paddingX
labelfontSize
lineHeight
prefixIconsize
suffixIconsize
prefixAvatarsize
iconsize

size=medium

StateSlotPropertyValue
enabledrootheight
paddingX
labelfontSize
lineHeight
prefixIconsize
suffixIconsize
prefixAvatarsize
iconsize

size=large

StateSlotPropertyValue
enabledrootheight
paddingX
labelfontSize
lineHeight
prefixIconsize
paddingLeft
suffixIconsize
prefixAvatarsize
iconsize

size=small, layout=withText

StateSlotPropertyValue
enabledrootminWidth

size=medium, layout=withText

StateSlotPropertyValue
enabledrootminWidth

size=large, layout=withText

StateSlotPropertyValue
enabledrootminWidth

size=small, layout=iconOnly

StateSlotPropertyValue
enabledrootminWidth

size=medium, layout=iconOnly

StateSlotPropertyValue
enabledrootminWidth

size=large, layout=iconOnly

StateSlotPropertyValue
enabledrootminWidth

Table of contents