Installation
Usage
import { Classic } from "@/components/loading-ui/classic";<Classic />Customization
Classic is the most familiar loading treatment in the set. It works especially well when you want a spinner that feels native to buttons, inputs, dialogs, and form-heavy UI without drawing too much attention to itself.
Size
Adjust the overall footprint with size-* utilities depending on whether the spinner is sitting inline with text or acting as the main indicator in a small panel.
Color
The spinner uses currentColor, so direct text color utilities or inherited color from a parent are enough to restyle it.
Examples
These examples focus on the patterns where Classic tends to feel most natural: compact controls, inline validation, and background activity states that should stay readable but unobtrusive.
Button
Use Classic in action buttons when you want a familiar loading cue that blends into the control instead of dominating it.
Input Group
In input groups, Classic works well for field-level checks and message drafting states that stay close to the control they affect.