Buttons

Use Bootstrap’s custom button styles for actions in forms, dialogs, and more with support for multiple sizes and states.

    
        <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>
    

Outline buttons

Replace the default modifier classes with the .btn-outline-* ones to remove all background images and colors on any button.

    
        <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>
    

Sizes

Fancy larger or smaller buttons? Add .btn-lg or .btn-sm for additional sizes.

    
        <button type="button" class="btn btn-primary btn-lg">Large button</button>
        <button type="button" class="btn btn-light btn-lg">Large button</button>
    
    
        <button type="button" class="btn btn-primary btn-sm">Small button</button>
        <button type="button" class="btn btn-light btn-sm">Small button</button>
    

Bootstrap Documentation