Bootstrap Buttons

Bootstrap Buttons allow you to quickly style and customize buttons using predefined classes.


🎨 Basic Button Classes

Use the btn class followed by a style class:

ClassStyle
btn-defaultDefault button
btn-primaryPrimary action (Blue)
btn-successSuccess message (Green)
btn-infoInformational (Light blue)
btn-warningWarning (Yellow)
btn-dangerDanger or delete action (Red)
btn-linkLooks like a hyperlink

Example:



 


📏 Button Sizes

ClassSize
btn-lgLarge
btn-mdMedium (default)
btn-smSmall
btn-xsExtra small


 


🧱 Block-Level Button (Full Width)

Used for mobile responsiveness or form layouts.



 


🔁 Active & Disabled Buttons

Active:



 

Disabled:



 


🧩 Button as <a>, <button>, or <input>



 


🎯 Button Groups

You can group buttons to create segmented controls:



 


➕ Button Toolbar



 


✔ Summary

FeatureAvailable
Basic styling✔️
Sizes✔️
Block level✔️
Active/Disabled states✔️
Button groups and toolbars✔️

You may also like...