Application
Application Quantity Inputs Bordered with plus and minus buttons Dark
Live Preview
<div>
<label for="Quantity" class="sr-only"> Quantity </label>
<div class="flex items-center rounded-sm border border-gray-200 dark:border-gray-800">
<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-16 border-transparent text-center [-moz-appearance:textfield] sm:text-sm dark:bg-gray-900 dark:text-white [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none"
/>
<button
type="button"
class="size-10 leading-10 text-gray-600 transition hover:opacity-75 dark:text-gray-300"
>
+
</button>
</div>
</div>