Select Control

Customizable select control for use with any type of floating UI

import { SelectControl } from "@plexui/ui/components/SelectControl";

Examples

Overview

Variants

soft
Sample value
outline
Sample value
ghost
Sample value

Sizing & roundness

size
variant
Select...Select...
Select...
Tool callsWith tool calls
Today
Today

Selected

Select...

Start icon

Select date...
dropdownIconType
Select date...

Clearable

Selected value

Loading

Loading...

Invalid

Pineapple on pizza

Disabled

Reader

Block

Select...

Optical alignment

opticallyAlign
Default
Ghost control
opticallyAlign="start"
Ghost control

Reference

Use SelectControl with any floating UI (e.g. Menu, Popover). The control renders the trigger; you provide the dropdown content.

PropTypeDefaultDescription
selectedbooleanWhether a value is selected (affects placeholder styling)
variant"soft" | "outline" | "ghost""outline"Visual variant
sizestringControl size
pillbooleanFully rounded trigger
StartIconComponentIcon at start
onClearClick() => voidEnables clear button when set
dropdownIconType"chevronDown" | "dropdown" | "none"Dropdown indicator style
invalidbooleanInvalid state
disabledbooleanDisable control
blockbooleanFull width
loadingbooleanLoading state
opticallyAlign"start" | "end"Optical alignment

SelectControl shares the unified 9-step size scale with Button, Input, Select, and SegmentedControl.