# Docs - **Getting Started** - [Quick Start](/docs.md): Install Hacline source through the shadcn Registry in a React 19 and Tailwind CSS v4 project. - [Design Tokens & Theming](/docs/tokens.md): A conflict-free --hl-* OKLCH semantic token system supporting automatic light/dark adaptation and custom brand themes. - Hooks - [useFileUpload](/docs/hooks/use-file-upload.md): Headless React hook managing concurrent async file uploads, per-file progress, AbortController cancellation, and retries. - [useFieldControl](/docs/hooks/use-field-control.md): Read the surrounding Field context (control id, name, disabled, invalid, and ARIA associations) inside custom form controls. - [usePreference](/docs/hooks/use-preference.md): Subscribe to and update a persisted preference created with createPreference or createColorScheme. - Components - [Components](/docs/components.md): Browse accessible React 19 components, interactive previews, and API references from Hacline. - **Actions & Basics** - [Button](/docs/components/button.md): Button component built on @ui-sdk/react/button with native async double-submit prevention, accessible focus management, and polymorphic link rendering. - [ConfirmButton](/docs/components/confirm-button.md): In-place morphing confirmation button for destructive actions. Smoothly expands into Confirm/Cancel or charges a 1.5s hold progress bar with full keyboard and focus management. - [Toggle](/docs/components/toggle.md): Control a single toggle button or a group of pressed-state buttons. - [Toolbar](/docs/components/toolbar.md): Group multiple editing actions into a single arrow-navigated keyboard region. - [Label](/docs/components/label.md): Names a control and forwards clicks to its associated input or control. - [Separator](/docs/components/separator.md): Semantic divider built on @ui-sdk/react/separator supporting horizontal, vertical, and decorative modes. - **Forms & Inputs** - [Field](/docs/components/field.md): A form field container built on @ui-sdk/react/field that automatically connects labels, descriptions, native validation errors, and FieldSet group disabling. - [Input](/docs/components/input.md): A text input built on @ui-sdk/react/input supporting variants and sizes, InputGroup prefix/suffix composition, one-click clearing, and input filtering. - [Textarea](/docs/components/textarea.md): Enter multi-line text with optional automatic height adjustment. - [Rich Text Editor](/docs/components/rich-text-editor.md): Edit structured documents with formatting, tables, block commands, and media previews. - [PasswordInput](/docs/components/password-input.md): Password input field with an accessible visibility toggle. - [NumberInput](/docs/components/number-input.md): Enter numeric values and adjust them by step increments. - [OTPInput](/docs/components/otp-input.md): Handle segmented one-time passcodes inside a single native field. - [TokenInput](/docs/components/token-input.md): Insert and manage structured references inline inside editable text. - [FileInput](/docs/components/file-input.md): Select, drop, or paste files and display the selected items. - [Checkbox](/docs/components/checkbox.md): Checkbox and checkbox group components built on @ui-sdk/react/checkbox with checked, indeterminate, disabled, and form integration support. - [Radio](/docs/components/radio.md): Select a single option from a named group. - [Switch](/docs/components/switch.md): A toggle switch built on @ui-sdk/react/switch with controlled and uncontrolled state, sm/md sizes, Space key toggling, and Field form integration. - [Slider](/docs/components/slider.md): Adjust single numeric values or ranges with one or more thumbs. - [Rating](/docs/components/rating.md): Pick full-star or half-star ratings. - **Selection & Dates** - [Select](/docs/components/select.md): 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. - [Combobox](/docs/components/combobox.md): Search by keyword and select one or more options. - [Autocomplete](/docs/components/autocomplete.md): Provide suggestions for free-form text input. - [Listbox](/docs/components/listbox.md): Select one or multiple options from an always-visible list. - [SegmentedControl](/docs/components/segmented-control.md): Choose one option from a visible row or column of segments. - [Calendar](/docs/components/calendar.md): Select dates from a monthly calendar grid. - [DateInput](/docs/components/date-input.md): Edit dates segment by segment in locale-aware order. - [DatePicker](/docs/components/date-picker.md): Choose a date using text input or a calendar popover. - [TimeInput](/docs/components/time-input.md): Edit hours and minutes in locale-aware segmented time fields. - **Overlays & Dialogs** - [Dialog](/docs/components/dialog.md): A modal dialog built on @ui-sdk/react/dialog with multiple sizes and full-screen mode, placements, backdrop variants, sticky header/footer scrolling, responsive bottom sheets, and dismiss protection. - [AlertDialog](/docs/components/alert-dialog.md): Collect user confirmation before executing a critical or irreversible action. - [Drawer](/docs/components/drawer.md): A draggable overlay panel that slides out from the edge of the screen. - [Popover](/docs/components/popover.md): Interactive floating panel built on @ui-sdk/react/popover with bordered arrows, collision positioning, and nested form support. - [HoverCard](/docs/components/hover-card.md): Display a content preview when hovering over or focusing a link. - [Tooltip](/docs/components/tooltip.md): Lightweight floating hint built on @ui-sdk/react/tooltip with automatic collision flipping, shortcut display, disabled-button explanations, and touch toggle support. - [Toast](/docs/components/toast.md): Present temporary dismissible notifications with optional actions. - **Navigation & Menus** - [Tabs](/docs/components/tabs.md): Switch between related content panels. - [Menu](/docs/components/menu.md): An action menu built on @ui-sdk/react/menu supporting looping keyboard navigation, checkbox/radio items, submenus, shortcut hints, and destructive action highlighting. - [Menubar](/docs/components/menubar.md): Combine multiple action menus into a menubar navigable with arrow keys. - [NavigationMenu](/docs/components/navigation-menu.md): Expand grouped site links from a row of navigation triggers. - [Command](/docs/components/command.md): Filter and execute a set of named commands. - [TriggerMenu](/docs/components/trigger-menu.md): Open inline suggestions at the text caret when specific characters are typed. - [Pagination](/docs/components/pagination.md): Navigate paginated results while highlighting the active page. - [Tree](/docs/components/tree.md): Navigate hierarchical items that can expand and collapse. - **Data & Media** - [DataTable](/docs/components/data-table.md): Hybrid data table built on TanStack Table v9 and TanStack Virtual v3. Supports zero-boilerplate and composable APIs, sorting, faceted filtering, pagination, row selection, expandable rows, logical column pinning, column resizing, and 10k+ row virtualization. - [Avatar](/docs/components/avatar.md): Display an image with fallback content while loading or unavailable. - [Carousel](/docs/components/carousel.md): Display a collection of content in a scrollable paginated view. - [ColorPicker](/docs/components/color-picker.md): Pick colors via a color area, hue slider, text input, or preset swatches. - [ImageCropper](/docs/components/image-cropper.md): Pan, zoom, and rotate a crop region over an image. - [Meter](/docs/components/meter.md): Displays a measured value within a known range, such as storage quota. - [Progress](/docs/components/progress.md): Display current task progress or an indeterminate waiting state. - [Timeline](/docs/components/timeline.md): Present events and step-by-step progress in sequential order. - [Waterfall](/docs/components/waterfall.md): Display request durations or trace spans along a unified timeline axis. - **Layout & Disclosure** - [Accordion](/docs/components/accordion.md): Expand and collapse content sections under a shared set of headings. - [Collapsible](/docs/components/collapsible.md): Expand or collapse a single content panel with a trigger button. - [Resizable](/docs/components/resizable.md): Adjust adjacent panel ratios via pointer drag or keyboard controls. - [ScrollArea](/docs/components/scroll-area.md): Custom scrollable container built on @ui-sdk/react/scroll-area with native scrolling feel, unified scrollbars, and stickToEnd log auto-scrolling. - [Preferences](/docs/components/preferences.md): Apply user preference tokens onto element data attributes.