Skip to content

Responsive React comparison table templates built with Bootstrap 5. Various examples like comparison table on pricing page, comparison card, product comparison & more. https://mdbootstrap.com/docs/react/extended/comparison-table

Notifications You must be signed in to change notification settings

mdbootstrap/react-comparison-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDB Logo

MDB React 5

Responsive comparison table templates built with Bootstrap 5. Various examples like comparison table on pricing page, comparison card, product comparison & more.

Check out React Comparison table Documentation for detailed instructions & even more examples.

Basic example

React Comparison table Basic Example

import React from "react";
import {
  MDBContainer,
  MDBIcon,
  MDBTable,
  MDBTableBody,
  MDBTableHead,
} from "mdb-react-ui-kit";

export default function App() {
  return (
    <MDBContainer className="py-5">
      <MDBTable
        responsive
        striped
        className=" text-successtable-border border-light"
      >
        <MDBTableHead className="border-light">
          <tr>
            <th scope="col"></th>
            <th scope="col">
              <strong>PRO</strong>
            </th>
            <th scope="col">
              <strong>Basic</strong>
            </th>
          </tr>
        </MDBTableHead>
        <MDBTableBody>
          <tr>
            <th scope="row">Domain customization </th>
            <td>
              <MDBIcon fas icon="check" className="text-success" />
            </td>
            <td>
              <MDBIcon fas icon="times" className="text-danger" />
            </td>
          </tr>
          <tr>
            <th scope="row">FTP</th>
            <td>
              <MDBIcon fas icon="check" className="text-success" />
            </td>
            <td>
              <MDBIcon fas icon="check" className="text-success" />
            </td>
          </tr>
          <tr>
            <th scope="row">Database</th>
            <td>
              <MDBIcon fas icon="check" className="text-success" />
            </td>
            <td>
              <MDBIcon fas icon="times" className="text-danger" />
            </td>
          </tr>
          <tr>
            <th scope="row">Support</th>
            <td>
              <MDBIcon fas icon="check" className="text-success" />
            </td>
            <td>
              <MDBIcon fas icon="check" className="text-success" />
            </td>
          </tr>
          <tr>
            <th scope="row">Backups</th>
            <td>
              <MDBIcon fas icon="check" className="text-success" />
            </td>
            <td>
              <MDBIcon fas icon="times" className="text-danger" />
            </td>
          </tr>
        </MDBTableBody>
      </MDBTable>
    </MDBContainer>
  );
}

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

Comparison on pricing:

React Comparison table #1

Extended comparison table:

React Comparison table #2

You can find other examples here.


More extended React documentation

About

Responsive React comparison table templates built with Bootstrap 5. Various examples like comparison table on pricing page, comparison card, product comparison & more. https://mdbootstrap.com/docs/react/extended/comparison-table

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published