Interactivity
Utilities for overriding native form control styling.
| Class | Styles |
|---|---|
| appearance-none | appearance: none; |
| appearance-auto | appearance: auto; |
Apply appearance-none to strip away any browser-specific styling on an element:
<select> <option>Yes</option> <option>No</option> <option>Maybe</option></select><div class="grid"> <select class="col-start-1 row-start-1 appearance-none bg-gray-50 dark:bg-gray-800 ..."> <option>Yes</option> <option>No</option> <option>Maybe</option> </select> <svg class="pointer-events-none col-start-1 row-start-1 ..."> <!-- ... --> </svg></div>Reach for this utility whenever you're building your own form controls.
Apply appearance-auto to bring an element's browser-specific styling back to normal:
Switch on `forced-colors: active` inside your dev tools to spot the change in action
<label> <div> <input type="checkbox" class="appearance-none forced-colors:appearance-auto ..." /> <svg class="invisible peer-checked:visible forced-colors:hidden ..."> <!-- ... --> </svg> </div> Falls back to default appearance</label><label> <div> <input type="checkbox" class="appearance-none ..." /> <svg class="invisible peer-checked:visible ..."> <!-- ... --> </svg> </div> Keeps custom appearance</label>Handy when you need the standard browser controls back for specific accessibility modes.
Add a breakpoint variant such as md: in front of an appearance utility so it kicks in only from medium screens upward:
<select class="appearance-auto md:appearance-none ..."> <!-- ... --></select>Find out more about variants over in the variants documentation.

5-day crash course
Ship UIs that don't flop.
Short, hands-on video lessons from the team behind Breezel, dropped straight into your inbox every day for a week.