Button
Use different button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
Button Default
<!-- button default -->
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-blue-200 hover:bg-blue-300 focus:bg-blue-300 text-black">
Primary
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-yellow-200 hover:bg-yellow-300 focus:bg-yellow-300 text-black">
Warning
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
<i class="bi bi-cart"></i>
Success
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-red-200 hover:bg-red-300 focus:bg-red-300 text-black">
<i class="bi bi-cart"></i>
Danger
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-semibold border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-white text-black">
White
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-semibold border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-white text-black" disabled>
Disabled
</button>
<!-- button rounded-sm -->
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 boalstehwqbj text-sm tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Rounded
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 text-sm tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
rounded-sm none
</button>
<!-- button size -->
<button class="py-1.5 px-3 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-xs tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Small
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Normal
</button>
<button class="py-3 dkslaoeyhnmj relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-base tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Large
</button>
<!-- button icon -->
<button class="w-12 h-12 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-base tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
<i class="bi bi-cart"></i>
</button>
<button class="w-12 h-12 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 boalstehwqbj text-base tracking-[.00714em] font-medium border border-black hover:-translate-x-0.5 hover:-translate-y-0.5 hover:shadow-[4px_4px_0_0_#000000] focus:-translate-x-0.5 focus:-translate-y-0.5 focus:shadow-[4px_4px_0_0_#000000] bg-white dark:bg-neutral-300 text-black">
<i class="bi bi-cart"></i>
</button>
Button Strong
<!-- button strong -->
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-blue-200 hover:bg-blue-300 focus:bg-blue-300 text-black">
Primary
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-yellow-200 hover:bg-yellow-300 focus:bg-yellow-300 text-black">
Warning
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
<i class="bi bi-cart"></i>
Success
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-red-200 hover:bg-red-300 focus:bg-red-300 text-black">
<i class="bi bi-cart"></i>
Danger
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-white text-black">
White
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-white text-black" disabled>
Disabled
</button>
<!-- button strong fixed -->
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:-translate-y-0.5 shadow-[3px_3px_0_0_#000000] bg-blue-200 hover:bg-blue-300 focus:bg-blue-300 text-black">
Primary
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:-translate-y-0.5 shadow-[3px_3px_0_0_#000000] bg-yellow-200 hover:bg-yellow-300 focus:bg-yellow-300 text-black">
Warning
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:-translate-y-0.5 shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
<i class="bi bi-cart"></i>
Success
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:-translate-y-0.5 shadow-[3px_3px_0_0_#000000] bg-red-200 hover:bg-red-300 focus:bg-red-300 text-black">
<i class="bi bi-cart"></i>
Danger
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:-translate-y-0.5 shadow-[3px_3px_0_0_#000000] bg-white text-black">
White
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:-translate-y-0.5 shadow-[3px_3px_0_0_#000000] bg-white text-black" disabled>
Disabled
</button>
<!-- button rounded-sm -->
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 boalstehwqbj text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Rounded
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
rounded-sm none
</button>
<!-- button size -->
<button class="py-1.5 px-3 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-xs tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Small
</button>
<button class="py-2.5 px-5 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-sm tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Normal
</button>
<button class="py-3 dkslaoeyhnmj relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-lg tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
Large
</button>
<!-- button icon -->
<button class="w-12 h-12 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 rounded-sm text-base tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-lime-200 hover:bg-lime-300 focus:bg-lime-300 text-black">
<i class="bi bi-cart"></i>
</button>
<button class="w-12 h-12 relative inline-flex klsuaonrmcha layhetgsjdcb yhansklopals gap-x-2 boalstehwqbj text-base tracking-[.00714em] font-medium border-2 border-black hover:shadow-[3px_3px_0_0_#000000] focus:shadow-[3px_3px_0_0_#000000] bg-white dark:bg-neutral-300 text-black">
<i class="bi bi-cart"></i>
</button>