Buttons-flat

Default buttons
Add .btn-square class for flat button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-primary">primary button</button>
<button type="button" class="btn btn-square btn-secondary">secondary button</button>
<button type="button" class="btn btn-square btn-success">Success Button</button>
<button type="button" class="btn btn-square btn-info">Info button</button>
<button type="button" class="btn btn-square btn-warning">warning button</button>
<button type="button" class="btn btn-square btn-danger">danger button</button>
<button type="button" class="btn btn-square btn-light">light button</button> 
<!-- Cod Box Copy end -->
Large buttons
Add .btn-square and .btn-lg class for large button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-primary btn-lg">primary button</button>
<button type="button" class="btn btn-square btn-secondary btn-lg">secondary button</button>
<button type="button" class="btn btn-square btn-success btn-lg">Success Button</button>
<button type="button" class="btn btn-square btn-info btn-lg">Info button</button>
<button type="button" class="btn btn-square btn-warning btn-lg">warning button</button>
<button type="button" class="btn btn-square btn-danger btn-lg">danger button</button>
<button type="button" class="btn btn-square btn-light btn-lg">light button</button> 
<!-- Cod Box Copy end -->
Small buttons
Add .btn-square and .btn-sm class for small button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-primary btn-sm">primary button</button>
<button type="button" class="btn btn-square btn-secondary btn-sm">secondary button</button>
<button type="button" class="btn btn-square btn-success btn-sm">Success Button</button>
<button type="button" class="btn btn-square btn-info btn-sm">Info button</button>
<button type="button" class="btn btn-square btn-warning btn-sm">warning button</button>
<button type="button" class="btn btn-square btn-danger btn-sm">danger button</button>
<button type="button" class="btn btn-square btn-light btn-sm">light button</button> 
<!-- Cod Box Copy end -->
Extra Small buttons
Add .btn-square and .btn-xs class for extra small button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-primary btn-xs">primary button</button>
<button type="button" class="btn btn-square btn-secondary btn-xs">secondary button</button>
<button type="button" class="btn btn-square btn-success btn-xs">Success Button</button>
<button type="button" class="btn btn-square btn-info btn-xs">Info button</button>
<button type="button" class="btn btn-square btn-warning btn-xs">warning button</button>
<button type="button" class="btn btn-square btn-danger btn-xs">danger button</button>
<button type="button" class="btn btn-square btn-light btn-xs">light button</button> 
<!-- Cod Box Copy end -->
Active Buttons
Add .active for active state
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-primary active">Active</button>
<button type="button" class="btn btn-square btn-secondary active">Active</button>
<button type="button" class="btn btn-square btn-success active">Active</button>
<button type="button" class="btn btn-square btn-info active">Active</button>
<button type="button" class="btn btn-square btn-warning active">Active</button>
<button type="button" class="btn btn-square btn-danger active">Active</button>
<button type="button" class="btn btn-square btn-light active txt-dark">Active</button> 
<!-- Cod Box Copy end -->
Disabled buttons
Add .disabled class or disabled="disabled" attribute for disabled button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-primary disabled">Disabled</button>
<button type="button" class="btn btn-square btn-secondary disabled">Disabled</button>
<button type="button" class="btn btn-square btn-success disabled">Disabled</button>
<button type="button" class="btn btn-square btn-info disabled">Disabled</button>
<button type="button" class="btn btn-square btn-warning disabled">Disabled</button>
<button type="button" class="btn btn-square btn-danger disabled">Disabled</button>
<button type="button" class="btn btn-square btn-light disabled txt-dark">Disabled</button> 
<!-- Cod Box Copy end -->
Custom state buttons
The .btn class used with <button>, <a> and <input> elements.
Link
<!-- Cod Box Copy begin -->
<a class="btn btn-square btn-primary" href="#" data-bs-toggle="tooltip;" title="btn btn-primary" role="button">link</button>
<input class="btn btn-square btn-primary" type="button" value="Input"  data-bs-toggle="tooltip;" title="btn btn-secondary">
<input class="btn btn-square btn-success" type="submit" value="Submit" data-bs-toggle="tooltip" title="btn btn-success">
<button class="btn btn-square btn-info" type="submit">Button</button> 
<!-- Cod Box Copy end -->
outline buttons
Add .btn-square and .btn-outline-* class for button with outline
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-outline-primary">primary button</button>
<button type="button" class="btn btn-square btn-outline-secondary">secondary button</button>
<button type="button" class="btn btn-square btn-outline-success">Success Button</button>
<button type="button" class="btn btn-square btn-outline-info">Info button</button>
<button type="button" class="btn btn-square btn-outline-warning">warning button</button>
<button type="button" class="btn btn-square btn-outline-danger">danger button</button>
<button type="button" class="btn btn-square btn-outline-light txt-dark">light button</button> 
<!-- Cod Box Copy end -->
bold Border outline buttons
Add .btn-square and .btn-outline-*-2x class for button with bold outline
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-outline-primary-2x">primary button</button>
<button type="button" class="btn btn-square btn-outline-secondary-2x">secondary button</button>
<button type="button" class="btn btn-square btn-outline-success-2x">Success Button</button>
<button type="button" class="btn btn-square btn-outline-info-2x">Info button</button>
<button type="button" class="btn btn-square btn-outline-warning-2x">warning button</button>
<button type="button" class="btn btn-square btn-outline-danger-2x">danger button</button>
<button type="button" class="btn btn-square btn-outline-light-2x txt-dark">light button</button> 
<!-- Cod Box Copy end -->
outline Large buttons
Add .btn-square,.btn-outline-* and .btn-lg class for large button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-outline-primary btn-lg">primary button</button>
<button type="button" class="btn btn-square btn-outline-secondary btn-lg">secondary button</button>
<button type="button" class="btn btn-square btn-outline-success btn-lg">Success Button</button>
<button type="button" class="btn btn-square btn-outline-info btn-lg">Info button</button>
<button type="button" class="btn btn-square btn-outline-warning btn-lg">warning button</button>
<button type="button" class="btn btn-square btn-outline-danger btn-lg">danger button</button>
<button type="button" class="btn btn-square btn-outline-light btn-lg txt-dark">light button</button> 
<!-- Cod Box Copy end -->
outline small buttons
Add .btn-square,.btn-outline-* and .btn-sm class for small button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-outline-primary btn-sm">primary button</button>
<button type="button" class="btn btn-square btn-outline-secondary btn-sm">secondary button</button>
<button type="button" class="btn btn-square btn-outline-success btn-sm">Success Button</button>
<button type="button" class="btn btn-square btn-outline-info btn-sm">Info button</button>
<button type="button" class="btn btn-square btn-outline-warning btn-sm">warning button</button>
<button type="button" class="btn btn-square btn-outline-danger btn-sm">danger button</button>
<button type="button" class="btn btn-square btn-outline-light btn-sm txt-dark">light button</button>
<!-- Cod Box Copy end -->
outline Extra small buttons
Add .btn-square,.btn-outline-* and .btn-xs class for extra small button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-outline-primary btn-xs">primary button</button>
<button type="button" class="btn btn-square btn-outline-secondary btn-xs">secondary button</button>
<button type="button" class="btn btn-square btn-outline-success btn-xs">Success Button</button>
<button type="button" class="btn btn-square btn-outline-info btn-xs">Info button</button>
<button type="button" class="btn btn-square btn-outline-warning btn-xs">warning button</button>
<button type="button" class="btn btn-square btn-outline-danger btn-xs">danger button</button>
<button type="button" class="btn btn-square btn-outline-light btn-xs txt-dark">light button</button>
<!-- Cod Box Copy end -->
Disabled outline buttons
Add .disabled class or disabled="disabled" attribute for disabled button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-outline-primary disabled">Disabled</button>
<button type="button" class="btn btn-square btn-outline-secondary disabled">Disabled</button>
<button type="button" class="btn btn-square btn-outline-success disabled">Disabled</button>
<button type="button" class="btn btn-square btn-outline-info disabled">Disabled</button>
<button type="button" class="btn btn-square btn-outline-warning disabled">Disabled</button>
<button type="button" class="btn btn-square btn-outline-danger disabled">Disabled</button>
<button type="button" class="btn btn-square btn-outline-light disabled txt-dark">Disabled</button>
<!-- Cod Box Copy end -->
Gradien buttons
Add .btn-square and .btn-*-gradien class for gradien button
<!-- Cod Box Copy begin -->
<button type="button" class="btn btn-square btn-primary-gradien">primary button</button>
<button type="button" class="btn btn-square btn-secondary-gradien">secondary button</button>
<button type="button" class="btn btn-square btn-success-gradien">Success Button</button>
<button type="button" class="btn btn-square btn-info-gradien">Info button</button>
<button type="button" class="btn btn-square btn-warning-gradien">warning button</button>
<button type="button" class="btn btn-square btn-danger-gradien">danger button</button>
<button type="button" class="btn btn-square btn-light-gradien">light button</button> 
<!-- Cod Box Copy end -->