Foundation


Tokens

Tokens are variables that represent design decisions such as color, typography, and spacing, in a consistent and reusable way.

Icon System

This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

Typography

TBD

Actions


Buttons

Bootstrap has a base .btn class that sets up basic styles such as padding and content alignment. By default, .btn controls have a transparent border and background color, and lack any explicit focus and hover styles.

Button Group

Group a series of buttons together on a single line or stack them in a vertical column.

Header Actions

TBD

Communication


Icon

Material Symbols are our newest icons consolidating over 3,209 glyphs in a single font file with a wide range of design variants. Symbols are available in three styles and four adjustable variable font styles (fill, weight, grade, and optical size).

Spinners

Indicate the loading state of a component or page with Bootstrap spinners, built entirely with HTML, CSS, and no JavaScript.

Alert

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Badge

Documentation and examples for badges, our small count and labeling component.

Badges scale to match the size of the immediate parent element by using relative font sizing and em units. As of v5, badges no longer have focus or hover styles for links.

Tooltips

As mentioned above, you must initialize tooltips before they can be used. One way to initialize all tooltips on a page would be to select them by their data-bs-toggle attribute.

Toasts

Push notifications to your visitors with a toast, a lightweight and easily customizable alert message. Toasts are lightweight notifications designed to mimic the push notifications that have been popularized by mobile and desktop operating systems. They're built with flexbox, so they're easy to align and position.

Lists


Accordion

The accordion uses collapse internally to make it collapsible. To render an accordion that's expanded, add the .open class on the .accordion.

Pagination

Used for showing pagination to indicate a series of related content exists across multiple pages. We use a large block of connected links for our pagination, making links hard to miss and easily scalable—all while providing large hit areas. Pagination is built with list HTML elements so screen readers can announce the number of available links. Use a wrapping nav element to identify it as a navigation section to screen readers and other assistive technologies.