bootstrap-labels

1.0.1 • Public • Published

Responsive 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 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.

Badge Labels

The valid term for Labels in Bootstrap 5 is now 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.

Use .badge class to provide your visitors with highlighted, new or unread items by adding it to links, text navs, and more.

<h2>Example heading <span class="badge bg-primary">New</span></h2>

Floating Labels 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 Input fields documentation if you are looking for more examples & customization options for the component from the example below.

<div class="form-outline">
  <input type="text" id="form12" class="form-control" />
  <label class="form-label" for="form12">Example label</label>
</div>

How to use?

  1. Download MDB 5 - 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

Package Sidebar

Install

npm i bootstrap-labels

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

5.89 MB

Total Files

355

Last publish

Collaborators

  • mdbootstrap