3 Star 0 Fork 0

mirrors_mdbootstrap / react-comparison-table

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_mdbootstrap/react-comparison-table.git
git@gitee.com:mirrors_mdbootstrap/react-comparison-table.git
mirrors_mdbootstrap
react-comparison-table
react-comparison-table
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891