Buttons
Buttons
HTML / Code
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-dark">Dark</button>
<button type="button" class="btn btn-link">Link</button>
Outline Buttons
HTML / Code
<button type="button" class="btn btn-outline-primary">Primary</button>
<button type="button" class="btn btn-outline-secondary">Secondary</button>
<button type="button" class="btn btn-outline-success">Success</button>
<button type="button" class="btn btn-outline-danger">Danger</button>
<button type="button" class="btn btn-outline-warning">Warning</button>
<button type="button" class="btn btn-outline-info">Info</button>
<button type="button" class="btn btn-outline-light">Light</button>
<button type="button" class="btn btn-outline-dark">Dark</button>
Sizes / Größen
HTML / Code
<button type="button" class="btn btn-primary btn-lg">Large button</button>
<button type="button" class="btn btn-secondary btn-lg">Large button</button>
<button type="button" class="btn btn-primary">Regular button</button>
<button type="button" class="btn btn-secondary">Regular button</button>
Block Buttons
HTML / Code
<div class="d-grid gap-2">
<button class="btn btn-primary" type="button">Primary Block Button</button>
<button class="btn btn-secondary" type="button">Secondary Block Button</button>
<button class="btn btn-success" type="button">Success Block Button</button>
<button class="btn btn-danger" type="button">Danger Block Button</button>
<button class="btn btn-warning" type="button">Warning Block Button</button>
<button class="btn btn-info" type="button">Info Block Button</button>
<button class="btn btn-light" type="button">Light Block Button</button>
<button class="btn btn-dark" type="button">Dark Block Button</button>
<button class="btn btn-link" type="button">Link Block Button</button>
</div>
Disabled Buttons
HTML / Code
<button type="button" class="btn btn-primary" disabled>Primary button</button>
<button type="button" class="btn btn-secondary" disabled>Button</button>
<button type="button" class="btn btn-outline-primary" disabled>Primary button</button>
<button type="button" class="btn btn-outline-secondary" disabled>Button</button>