Components

Input Button

A button in the shape of an input field, used to open a selection panel or picker. Once selection is complete, the selected value is shown in the button label.

FigmaReactiOSAndroid
Input Button cover image

Field

Input Button can be used inside a Field to serve as a Field Button.

Anatomy

Anatomy image of Input Button. Consists of Value, Container, Clear Button (Optional), and Prefix/Suffix Slot.

Input Button consists of a Value, the Container wrapping it, a Clear Button (Optional), and a Prefix/Suffix Slot.

Properties

State

Input Button State - Enabled, Pressed, Error, Error Pressed, Disabled, Read Only

Input Button has Enabled, Pressed, Error, Error Pressed, Disabled, and Read Only states.

Value Property

Input Button Value Property - Text and Chip components

The Value property can be used when Input Button has a value. Value can display plain text or a Chip component.

Clear Button Property

Input Button Clear Button Property

When a value exists in Input Button, a Clear Button that can delete that value can be shown.

Guidelines

Uses of Input Button

Example of using Input Button - used together with a Bottom Sheet or a picker

Input Button is a button component that looks similar to an Input but does not allow direct text entry. Selecting it opens a Bottom Sheet or Picker, etc., to choose a value, and once selection is complete, that value is shown in the button label.

Input Button cannot be used standalone, and must always be used together with a UI element that provides a list of selectable items, such as Bottom Sheet or a Date/Time Picker.

Specification

base

StateSlotPropertyValue
enabledrootstrokeWidth
strokeColor
color
colorDuration
colorTimingFunction
strokeDuration
strokeTimingFunction
valuefontWeight
color
placeholderfontWeight
color
prefixTextfontWeight
color
prefixIconcolor
suffixTextfontWeight
color
suffixIconcolor
clearButtoncolor
pressedrootcolor
scaleScope
clearButtonscaleScope
invalidrootstrokeWidth
strokeColor
disabledrootcolor
valuecolor
placeholdercolor
prefixTextcolor
prefixIconcolor
suffixTextcolor
suffixIconcolor
readonlyrootcolor
valuecolor
placeholdercolor

size=large

  • 뷰포트 너비와 관계없이 사용할 수 있습니다.
StateSlotPropertyValue
enabledrootheight
gap
cornerRadius
paddingX
valuefontSize
lineHeight
placeholderfontSize
lineHeight
prefixTextfontSize
lineHeight
prefixIconsize
suffixTextfontSize
lineHeight
suffixIconsize
clearButtonsize

size=medium

  • Breakpoint `lg` 이상(데스크톱)에서만 사용하고, 모바일에서는 사용하지 않습니다. 정밀한 선택이 가능한 마우스 입력 환경에서 사이즈를 더 작게 만들고자 할 때 사용합니다.
StateSlotPropertyValue
enabledrootheight
gap
cornerRadius
paddingX
valuefontSize
lineHeight
placeholderfontSize
lineHeight
prefixTextfontSize
lineHeight
prefixIconsize
suffixTextfontSize
lineHeight
suffixIconsize
clearButtonsize

Table of contents