Problem: Pay-as-you-go UI.
Solution#
<div class="rounded-2xl border p-6">
<input type="range" class="w-full accent-blue-600" />
<div class="mt-2 flex justify-between text-xs text-slate-500"><span>1K events</span><span>1M events</span></div>
</div>Why this works#
accent-color brands the native range input.
Variants#
- Responsive: add screen prefixes to the core classes
- Dark: pair each color utility with its dark: twin
- Animated: add
transition+ a state variant for motion
Related recipes#
cookbook/index|Cookbook index · utilities/index|Utilities reference · patterns/index|Layout patterns
