x
1
2
3
<button type='button' class='btn btn-primary' > Placeholder</button>
1
2
3
4
5
6
<% button_class = "#{outline ? 'btn-outline' : 'btn'}-#{colour}" %><% button_class += ' active' if active %> <button type='button' class='btn <%= button_class %>' <%= 'disabled' if disabled %>> <%= title %> </button>
Interactive playground for experimenting with different button styles and states.
Param | Description | Input |
---|---|---|
Button title |
|
|
Default bootstrap theme colours |
|
|
Disabled |
|
|
Active |
|
|
Outline button |
|
No assets to display.
No assets to display.