Loading...
Customize

Customize theme

Colors
Primary
Warning
Info
Success
Danger
Typography (1rem = 16px)
Borders / Rounding

Menu

Content

Components

Utilities

Buy now

Buttons

Custom button styles for actions in forms, dialogs, etc.

Bootstrap docs

Solid (default)

<!-- Primary solid button -->
<button type="button" class="btn btn-primary">Primary</button>

<!-- Secondary solid button -->
<button type="button" class="btn btn-secondary">Secondary</button>

<!-- Success solid button -->
<button type="button" class="btn btn-success">Success</button>

<!-- Danger solid button -->
<button type="button" class="btn btn-danger">Danger</button>

<!-- Warning solid button -->
<button type="button" class="btn btn-warning">Warning</button>

<!-- Info solid button -->
<button type="button" class="btn btn-info">Info</button>

<!-- Light solid button -->
<button type="button" class="btn btn-light">Info</button>

<!-- Dark solid button -->
<button type="button" class="btn btn-dark">Dark</button>

<!-- Link button -->
<button type="button" class="btn btn-link">Link</button>

Outline

<!-- Primary outline button -->
<button type="button" class="btn btn-outline-primary">Primary</button>

<!-- Secondary outline button -->
<button type="button" class="btn btn-outline-secondary">Secondary</button>

<!-- Success outline button -->
<button type="button" class="btn btn-outline-success">Success</button>

<!-- Danger outline button -->
<button type="button" class="btn btn-outline-danger">Danger</button>

<!-- Warning outline button -->
<button type="button" class="btn btn-outline-warning">Warning</button>

<!-- Info outline button -->
<button type="button" class="btn btn-outline-info">Info</button>

<!-- Light outline button -->
<button type="button" class="btn btn-outline-light">Info</button>

<!-- Dark outline button -->
<button type="button" class="btn btn-outline-dark">Dark</button>

Icons

<!-- Primary button with text and icon -->
<button type="button" class="btn btn-primary">
  <i class="ai-user me-2"></i>
  Profile
</button>

<!-- Secondary solid icon button -->
<button type="button" class="btn btn-secondary btn-icon" aria-label="Edit">
  <i class="ai-edit-alt"></i>
</button>

<!-- Danger outline icon button -->
<button type="button" class="btn btn-outline-danger btn-icon" aria-label="Delete">
  <i class="ai-trash"></i>
</button>

<!-- Success solid icon button -->
<button type="button" class="btn btn-success btn-icon" aria-label="Confirm">
  <i class="ai-check"></i>
</button>

<!-- Warning pill solid icon button -->
<button type="button" class="btn btn-warning btn-icon rounded-pill" aria-label="Rate">
  <i class="ai-star-filled"></i>
</button>

<!-- Info pill outline icon button -->
<button type="button" class="btn btn-outline-info btn-icon rounded-pill" aria-label="Bookmark">
  <i class="ai-bookmark"></i>
</button>

Market buttons

<!-- App Store button (Dark) -->
<a href="#" class="btn btn-dark btn-lg px-3 py-2" aria-label="App Store">
  <img src="assets/img/market/appstore-light.svg" class="d-dark-mode-none mx-1" width="136" alt="App Store">
  <img src="assets/img/market/appstore-dark.svg" class="d-none d-dark-mode-block mx-1" width="136" alt="App Store">
</a>

<!-- Google Play button (Dark) -->
<a href="#" class="btn btn-dark btn-lg px-3 py-2" aria-label="Google Play">
  <img src="assets/img/market/googleplay-light.svg" class="d-dark-mode-none mx-1" width="135" alt="Google Play">
  <img src="assets/img/market/googleplay-dark.svg" class="d-none d-dark-mode-block mx-1" width="135" alt="Google Play">
</a>

<!-- App Store button (Primary) -->
<a href="#" class="btn btn-primary btn-lg px-3 py-2" aria-label="App Store">
  <img src="assets/img/market/appstore-light.svg" class="mx-1" width="136" alt="App Store">
</a>

<!-- Google Play button (Primary) -->
<a href="#" class="btn btn-primary btn-lg px-3 py-2" aria-label="Google Play">
  <img src="assets/img/market/googleplay-light.svg" class="mx-1" width="135" alt="Google Play">
</a>

Shapes

<!-- Rounded solid button -->
<button type="button" class="btn btn-primary">Rounded</button>

<!-- Pill solid button -->
<button type="button" class="btn btn-primary rounded-pill">Pill button</button>

<!-- Square solid button -->
<button type="button" class="btn btn-primary rounded-0">Square</button>

<!-- Rounded outline button -->
<button type="button" class="btn btn-outline-primary">Rounded</button>

<!-- Pill outline button -->
<button type="button" class="btn btn-outline-primary rounded-pill">Pill button</button>

<!-- Square outline button -->
<button type="button" class="btn btn-outline-primary rounded-0">Square</button>

Sizes

<!-- Large solid button -->
<button type="button" class="btn btn-primary btn-lg">Large button</button>

<!-- Normal solid button -->
<button type="button" class="btn btn-primary">Normal button</button>

<!-- Small solid button -->
<button type="button" class="btn btn-primary btn-sm">Small button</button>

<!-- Large outline button -->
<button type="button" class="btn btn-outline-primary btn-lg">Large button</button>

<!-- Normal outline button -->
<button type="button" class="btn btn-outline-primary">Normal button</button>

<!-- Small outline button -->
<button type="button" class="btn btn-outline-primary btn-sm">Small button</button>

<!-- Block solid button -->
<button type="button" class="btn btn-primary w-100">Block level button</button>

<!-- Block outline button -->
<button type="button" class="btn btn-outline-primary w-100">Block level button</button>

States

<!-- Button states -->
<button type="button" class="btn btn-primary active">Active</button>
<button type="button" class="btn btn-secondary active">Active</button>
<button type="button" class="btn btn-primary" disabled>Disabled</button>
<button type="button" class="btn btn-secondary" disabled>Disabled</button>
<button type="button" class="btn btn-primary" data-bs-toggle="button">Button toggle</button>
<button type="button" class="btn btn-primary pe-none">
  <span class="spinner-border spinner-border-sm me-2" role="status" aria-hidden="true"></span>
  Loading...
</button>
<button type="button" class="btn btn-secondary pe-none">
  <span class="spinner-grow spinner-grow-sm me-2" role="status" aria-hidden="true"></span>
  Loading...
</button>