Application
Application Quantity Inputs Base with plus and minus buttons Dark
Live Preview
<div>
<label for="Quantity" class="sr-only"> Quantity </label>
<div class="flex items-center gap-1">
<button
type="button"
class="size-10 leading-10 text-gray-600 transition hover:opacity-75 dark:text-gray-300"
>
−
</button>
<input
type="number"
id="Quantity"
value="1"
class="h-10 w-24 rounded-sm border-gray-200 sm:text-sm dark:border-gray-700 dark:bg-gray-800 dark:text-white"
/>
<button
type="button"
class="size-10 leading-10 text-gray-600 transition hover:opacity-75 dark:text-gray-300"
>
+
</button>
</div>
</div>