# Select Box URL: /components/select-box Source: https://github.com/daangn/seed-design/blob/dev/docs/content/components/select-box.mdx A UI element that uses a container with clear borders to select one or more options from a defined list. You can use Select Box Group within Field to utilize it as a Select Box Group Field. ## Anatomy ![Select Box Anatomy image. Composed of Container, Prefix, Title, Description, Control, and Custom Content.]() Select Box is composed of Container, Prefix, Title, Description, Control, and Custom Content. **The background color is added in the guide for visual distinction, and no background color is specified in the component itself.** ## Properties ### Control ![Select Box Control Property - Checkmark, Radiomark, None]() The Control area located at the right end of Select Box indicates the selection method of the component. It is divided and used in three types: Checkmark, Radiomark, and None. | Control | Use Case | | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Checkmark | When multiple selection is possible | | Radiomark | When only single selection is possible | | None | When representing selection state only through border changes of the box itself. Useful for reducing visual noise and can be used in both single and multiple selection scenarios | ### State ![Select Box State - Selected/Unselected × Enabled/Disabled/Pressed]() Select Box has Selected and Unselected states, and each state is combined and expressed as Enabled, Disabled, or Pressed depending on user interaction. ### Variants ![Select Box Variants - Single Column]() ![Select Box Variants - Multiple Columns]() Use Single Column when stacked vertically with one column, and Multiple Columns when two or more columns are possible. In Single Column, Prefix and Control are center-aligned, while in Multiple Columns, Prefix and Control are fixed to top alignment. ### Columns ![Select Box Columns - 1 column, 2 columns, 3 columns layout examples]() The number of columns is determined by orientation. Horizontal is always arranged in a single column, and Vertical is composed of 2-3 columns (maximum 3) per line according to screen width. **When arranging in 3 columns, it is important to lower information density. Visual representation is minimized to ensure readability within narrow width.** ### Prefix Property ![Select Box Prefix Property - various Prefix type examples]() Prefix Slot is located on the left side of Select Box. Select Box component provides several types of presets for Prefix. If you want to use elements other than the included types, change them through Custom Child Swap. ### Detail Property ![Select Box Detail Property - Description area]() Description is located below the Title. The Description area is used for supplementary explanations. ### Custom Contents (Swap) ![Select Box Custom Contents - example of displaying additional information after selection]() Use the Custom Contents area when you need detailed content beyond basic descriptions, or when you need to show additional information only after an item is selected. This area can include various visual elements in addition to text. ## Using Select Box Child in Figma ![How to use Select Box Child Swap in Figma]() Select Box Title has hidden Child components for Swap to combine multiple elements without Detaching. ## Guidelines ### Touch Area Select Box is configured with the entire box as a single touch target to prevent misoperation. If additional information is needed, it is good to utilize Description or the Custom Contents area that appears after selecting an item. ### Selected State Transition ![Example of Select Box Pressed state expressed across the entire container]() The Pressed state of Select Box is expressed not in specific control elements (Checkmark, Radiomark) inside, but across the entire container area (Bounding Box). ### Write Concisely Labels and Descriptions should be written as concisely as possible so users can easily and quickly compare multiple options. For Description, it is recommended to write it within a maximum of 2 lines for text readability. ### Reflecting Selected Values Select Box is a tool for inputting data and 'selecting' options, not a button for 'executing' actions in itself. Selected values must be ultimately defined and reflected through a separate execution button (Submit Button) for saving, confirming, or moving to the next step. ### Multiple Columns Height Rule When two or more are placed on the same line (Row), height values are unified based on the Select Box containing the longest content for visual balance and layout stability. ### Maximum Selectable Number Guidance When using the None type without selection marks, it is recommended to provide advance notice of the maximum selectable number so users do not have to go through trial and error. ### Feedback Principle When Maximum Selection is Reached ![Example of Snackbar feedback when maximum selection is reached]() When the maximum is reached during multiple selection, block the selection state of new items and prioritize providing feedback such as [Snackbar](/components/snackbar). ### Select Box vs. Chip Comparison ![Example of Select Box vs. Chip comparison]() Use Select Box when detailed information comparison and clear data confirmation are needed, and use [Chip](/components/chip) when keyword-focused lightweight filtering or flexible tagging is needed. | | Select Box | Chip (Selection) | | ----------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------- | | **Information Density** | Rich information delivery including detailed descriptions or additional information | Optimized for concise keyword-focused information delivery | | **Space Usage** | Aligned horizontally/vertically with other input fields | Flexible layout with width changing according to content length | ## Specification ### Select Box Component spec (JSON): /rootage/components/select-box.json ### Select Box Group Component spec (JSON): /rootage/components/select-box-group.json ### Select Box Checkmark Component spec (JSON): /rootage/components/select-box-checkmark.json