Skip to Content
Selection & Dates@hacline/ui/select

Select

Dropdown selector built on @ui-sdk/react/select supporting data-driven items, groups, search filtering, multi-select with Select All/Clear, async states, and adaptive popovers.

Import

import {
  Select,
  SelectArrow,
  SelectClear,
  SelectContent,
  SelectEmpty,
  SelectGroup,
  SelectGroupLabel,
  SelectInput,
  SelectItem,
  SelectItemIcon,
  SelectItemIndicator,
  SelectItems,
  SelectItemText,
  SelectLabel,
  SelectList,
  SelectSelectAll,
  SelectSeparator,
  SelectStatus,
  SelectTrigger,
  SelectValue,
  SelectValueIcon,
} from "@/components/ui/hacline/components/select";

Basic Usage

Group options semantically with SelectGroup, SelectGroupLabel, and SelectSeparator.

Deployment region

Sizes

Supports sm, md (default), and lg height scales aligned cleanly with Input and Button.

Data-Driven

Pass structured items (with groups, separators, and disabled flags) directly to Select and leave SelectContent empty to render styled SelectItems automatically, complete with closed-state label reflection and typeahead search.

Cluster node

Items with Icons

Place icons inside options via SelectItemIcon and mirror the selected icon onto the trigger with SelectValueIcon.

Theme

Multiple Selection, Select All & Clear

Enable multiple to select multiple options at once, pair with SelectSelectAll to toggle all items, summarize overflow badges with maxLabels and getMoreLabel on SelectValue, and reset quickly with SelectClear.

Alert channels

Search Filtering & Status

Combine SelectInput, SelectStatus, SelectList, and SelectEmpty inside SelectContent for built-in query matching, <mark> highlights, and an empty state.

Frontend framework

Read-Only & Disabled

Environment (Read-only)
Plan (Disabled)

Props

Select

Prop

Type

SelectTrigger

Prop

Type

SelectValue

Prop

Type

SelectContent

Prop

Type