Buttons
Default Buttons
Use the btn
class to show the default button style.
Next.js Preview
Outline Buttons
Use btn-outline-
class with the below-mentioned variation to create a button with the outline.
Next.js Preview
Rounded Buttons
Use the rounded-pill
class to make a rounded button.
Next.js Preview
Soft Buttons
Use btn-soft-
class with the below-mentioned variation to create a button with the soft background.
Next.js Preview
Ghost Buttons
Use btn-ghost-
class with the below-mentioned variation to create a button with the transparent background.
Next.js Preview
Gradient Buttons
Use bg-gradient
class to create a gradient button.
Next.js Preview
Animation Buttons
Use bg-animation
class to create an animated button.
Next.js Preview
Load More Buttons
Example of loading buttons.
Next.js Preview
Border Buttons
Example of simple bottom borderd buttons.
Next.js Preview
Darken Buttons
Example of simple darken buttons.
Next.js Preview
Custom Toggle Buttons
Example of toggle buttons.
Next.js Preview
Buttons Sizes
Use btn-lg
class to create a large size button and btn-sm
class to create a small size button.
Next.js Preview
Buttons Width
Use w-xs,w-sm,w-md,w-lg
class to make different sized buttons respectively.
Next.js Preview
Buttons Tag
Use btn
class with different HTML elements. (though some browsers may apply a slightly different rendering)
Next.js Preview
Buttons Toggle Status
Use data-bs-toggle="button"
to toggle a button’s active state.
Next.js Preview
<!-- Toggle Button Status --> <Button variant="primary" data-bs-toggle="button" aria-pressed="false"> Single toggle </Button>
Buttons Grid
Use d-grid
class to create a full-width block button.
Next.js Preview
Checkbox & Radio Buttons
Combine button-like checkbox and radio
toggle buttons into a seamless looking button group.
Next.js Preview
Buttons Group
Use the btn-group
class in the parent class to wrap a series of buttons.
Next.js Preview
Icon Buttons
Use btn-icon
class to wrap icon in button
Next.js Preview
Buttons Toolbar
Use btn-toolbar
class to combine sets of button groups into more complex components.
Next.js Preview
Button Group Sizing
Use btn-group-
class with the below-mentioned variation to set the different sizes of button groups.
Next.js Preview
Vertical Variation
Make a set of buttons appear vertically
stacked .Split button dropdowns are not supported here.