1.0.0 • Published 2 years ago

@mdbootstrap/react-square-buttons v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

MDB Logo

MDB React 5

Responsive React Square Buttons built with Bootstrap 5 & HTML. Disabled button, black, full-width outline, social button, big button, block square button & more.

Check out React Square Buttons Documentation for detailed instructions & even more examples.

Basic example

Basic example

import React from "react";
import { MDBBtn } from "mdb-react-ui-kit";

export default function App() {
  return (
    <MDBBtn className="square-md">Button</MDBBtn>
  );
}
.square-md {
  width: 100px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  height: 100px !important;
  text-align: center;
  padding: 0px;
  font-size: 12px;
}

How to use?

  1. Download MDB 5 - FREE REACT UI KIT

  2. Choose your favourite customized component and click on the image

  3. Copy & paste the code into your MDB project

▶️ Subscribe to YouTube channel for web development tutorials & resources

More examples (click on the image to see a live demo)

Black square button:

React Square Buttons #1

Responsive square button:

React Square Buttons #2

Square button sizes:

React Square Buttons #3

Colors:

React Square Buttons #4

Outline:

React Square Buttons #5

You can find other examples here.

More extended React documentation