Responsive React Labels built with Bootstrap 5. Badge Labels are for counters, categories & tags. Floating labels refer to forms, and slider labels to the range.
Check out React Bootstrap Labels Documentation for detailed instructions & even more examples.
Important: The term "Bootstrap Label" is currently very ambiguous. Many different elements are colloquially referred to as "Labels" 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.
The valid term for Labels 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>
);
}
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' />
);
}
Download MDB React - free UI KIT
Choose your favourite customized component and click on the image
Copy & paste the code into your MDB project
▶️ Subscribe to YouTube channel for web development tutorials & resources
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。