k8ordo
  • UI
  • Form
  • State
  • Router
  • Static
  • Server
Switch to dark mode
  • Get Started
  • Theming
  • i18n
  • Components
  • Hooks
  • Helpers
  • AI
Open navigation
Buttons
  • Button
  • IconButton
Navigation
  • Anchor
  • Tabs
  • Breadcrumb
  • Pagination
Forms
  • TextField
  • Textarea
  • NumberField
  • Select
  • Checkbox
  • CheckboxCard
  • CheckboxGroup
  • Switch
  • PasswordInput
  • Radio
  • RadioCard
  • Autocomplete
  • Slider
  • FileField
  • FormControl
  • Form
Data Display
  • Accordion
  • Avatar
  • Badge
  • Card
  • Code
  • Table
  • Heading
Feedback
  • Alert
  • Skeleton
  • Spinner
  • Toast
  • Progress
Overlays
  • Dialog
  • Drawer
  • Modal
  • Popover
  • DropdownMenu
  • Tooltip
  • ListBox
Layout
  • Stack
  • Grid
  • Separator
  • ScrollLinked
Media
  • Icons
k8ordo

React libraries that use Baseline features without holding back.

Packages
  • @k8ordo/ui
  • @k8ordo/form
  • @k8ordo/state
  • @k8ordo/router
  • @k8ordo/static
  • @k8ordo/server
UI
  • Get Started
  • Theming
  • i18n
  • Components
  • Hooks
  • Helpers
  • AI Chat
  • Generative UI
  • AI Agents
  • Storybook
Resources
  • GitHub
  • npm

© 2026 k8o — MIT License

Typeset in Noto Sans JP & M PLUS 2

Components

Buttons
  • Button
  • IconButton
Navigation
  • Anchor
  • Tabs
  • Breadcrumb
  • Pagination
Forms
  • TextField
  • Textarea
  • NumberField
  • Select
  • Checkbox
  • CheckboxCard
  • CheckboxGroup
  • Switch
  • PasswordInput
  • Radio
  • RadioCard
  • Autocomplete
  • Slider
  • FileField
  • FormControl
  • Form
Data Display
  • Accordion
  • Avatar
  • Badge
  • Card
  • Code
  • Table
  • Heading
Feedback
  • Alert
  • Skeleton
  • Spinner
  • Toast
  • Progress
Overlays
  • Dialog
  • Drawer
  • Modal
  • Popover
  • DropdownMenu
  • Tooltip
  • ListBox
Layout
  • Stack
  • Grid
  • Separator
  • ScrollLinked
Media
  • Icons

Select

A select box to choose from options.

View in Storybook

Import

Usage

Required

Default Value

Disabled

Invalid

Props

options
Type: readonly Option[]
Default: -
children?
Type: ReactNode
Default: -
invalid?
Type: boolean
Default: false
ref?
Type: Ref<HTMLSelectElement>
Default: -
PropTypeDefault
optionsreadonly Option[]-
children?ReactNode
-
invalid?booleanfalse
ref?Ref<HTMLSelectElement>-

Type base (some attrs are managed internally): SelectHTMLAttributes<HTMLSelectElement>

import { Select } from '@k8ordo/ui';
const options = [
  { label: 'Apple', value: 'apple' },
  { label: 'Banana', value: 'banana' },
  { label: 'Cherry', value: 'cherry' },
];

<Select
  id="select-basic"
  aria-describedby={undefined}
  disabled={false}
  invalid={false}
  required={false}
  options={options}
/>
<Select
  id="select-required"
  aria-describedby={undefined}
  disabled={false}
  invalid={false}
  required
  options={options}
/>
<Select
  id="select-default-value"
  defaultValue="cherry"
  aria-describedby={undefined}
  disabled={false}
  invalid={false}
  required={false}
  options={options}
/>
<Select
  id="select-disabled"
  aria-describedby={undefined}
  disabled
  invalid={false}
  required={false}
  options={options}
/>
<Select
  id="select-invalid"
  aria-describedby={undefined}
  disabled={false}
  invalid
  required={false}
  options={options}
/>