Skip to content

Latest commit

 

History

4 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Responsive React 标签 built with Bootstrap 5. Badge 标签 are for counters, categories & tags. Floating labels refer to forms, and slider labels to the range.

Check out React Bootstrap 标签 Documentation for detailed instructions & even more examples.

⚠️ Important: The term "Bootstrap Label" is currently very ambiguous. Many different elements are colloquially referred to as "标签" by some developers. We created this page to help you find the proper component that you are looking for. You will find more examples of each one in the main documentation pages that are linked below.

Badge 标签

The valid term for 标签 in React Bootstrap 5 is now React Badges. Make sure to jump straight to the Badges documentation if you are looking for more examples & customization options for the component from the example below.

import React from 'react';
import { MDBBadge } from 'mdb-react-ui-kit';

export default function App() {
  return (
    <div>
      <h2>
        Example heading
        <MDBBadge className='ms-2'>NEW</MDBBadge>
      </h2>
    </div>
  );
}

Floating 标签 for Inputs

The term Label is now mainly used for the label element describing the input fields in form. Make sure to jump straight to the React Input fields documentation if you are looking for more examples & customization options for the component from the example below.

import React from 'react';
import { MDBInput } from 'mdb-react-ui-kit';

export default function Input() {
  return (
    <MDBInput label='Example label' id='form1' type='text' />
  );
}

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

关于

Responsive React 标签 built with Bootstrap 5. Badge 标签 are for counters, categories & tags. Floating labels refer to forms, and slider labels to the range.

Topics

Resources

Stars

0 stars

关注者

3 watching

复刻s

发布

Used by

贡献者

Languages