ComponentsDropdown

Dropdown

Selection input with a trailing chevron for controlled option lists, with size, state, and token reference specs.

Dropdown field

Selection input with a trailing chevron for controlled option lists.

Size
State
Code preview
import React from "react";
import { ChevronDown, Search } from "lucide-react";

Field specs

Reference values for text, placeholder, input fill, stroke, and state-specific colors.

TokenValueColorUsage
Input fillvar(--input-input-fill)#fcfcfcDefault field background
Stroke defaultvar(--input-input-stroke-default)#8f9da4Default / resting border
Stroke activevar(--input-input-stroke-active)#765cd8Focus highlight
Stroke errorvar(--red-600)#c8342aError border and icon
Placeholdervar(--text-text-placeholder)#b3bbc0Hint text in empty fields