Saturday
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 } from "lucide-react";

Field specs

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

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