--- name: effects-form-controls description: Form control styling with accent-color, appearance, caret-color, and resize --- # Form Controls & Input Styling Utilities for styling form controls: accent color, native appearance, caret color, and resize behavior. ## Usage ### Accent color Control the accent color of checkboxes, radio buttons, range inputs, and progress: ```html ``` ### Appearance Remove native form control styling for custom designs: ```html
...
``` ### Caret color Set the text input cursor color: ```html ``` ### Resize Control textarea resize behavior: ```html ``` ## Key Points - `accent-*` - theme colors for checkboxes, radio, range; use `accent-[#hex]` or `accent-(--var)` for custom - `appearance-none` - remove native styling (custom selects, checkboxes) - `appearance-auto` - restore default (e.g. for `forced-colors: active`) - `caret-*` - theme colors for input cursor; matches text color patterns - `resize` - both; `resize-x` - horizontal; `resize-y` - vertical; `resize-none` - no handle