3 Star 0 Fork 0

mirrors_mdbootstrap / react-hero

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

Responsive React Hero built with Bootstrap 5. Examples include hero image, hero banner, hero slider, hero section & more.

Check out Bootstrap Hero Documentation for detailed instructions & even more examples.

Hero banner

Hero banner is a full width card located at the beginning of a page.

React Bootstrap Hero card

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

export default function Basic() {
  return (
    <>
      <MDBContainer className="mt-5">
        <div
          className="p-4 shadow-4 rounded-3"
          style={{ backgroundColor: "hsl(0, 0%, 94%)" }}
        >
          <MDBTypography tag="h2">Hello world!</MDBTypography>
          <p>
            This is a simple hero unit, a simple Hero-style component for
            calling extra attention to featured content or information.
          </p>

          <hr className="my-4" />

          <p>
            It uses utility classes for typography and spacing to space content
            out within the larger container.
          </p>

          <MDBBtn>Learn more</MDBBtn>
        </div>
      </MDBContainer>
    </>
  );
}

More Examples

React Bootstrap Hero Image: React Bootstrap Hero

React Bootstrap Hero section with navbar: React Bootstrap Hero

React Bootstrap Background image with navbar: React Bootstrap Hero

How to use?

  1. Download MDB React - free 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 extended Bootstrap documentation

空文件

简介

暂无描述 展开 收起
JavaScript 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors_mdbootstrap/react-hero.git
git@gitee.com:mirrors_mdbootstrap/react-hero.git
mirrors_mdbootstrap
react-hero
react-hero
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891