Skip to content
v0.9.1
Components

Spinner

Shows that something is loading. It takes the text color, so it fits on any background. For a whole box that is busy, lay one over it.

Spinner

Loading… Loading… Loading… Loading… Loading… Saving…
<span class="spinner spinner-sm" role="status"><span class="visually-hidden">Loading…</span></span>
<span class="spinner" role="status"><span class="visually-hidden">Loading…</span></span>
<span class="spinner spinner-lg" role="status"><span class="visually-hidden">Loading…</span></span>
<span class="spinner text-violet" role="status"><span class="visually-hidden">Loading…</span></span>
<span class="spinner-dots" role="status"><span class="visually-hidden">Loading…</span></span>
<span class="hstack gap-2 text-muted"><span class="spinner spinner-sm" aria-hidden="true"></span> Saving…</span>

A busy box

Put a .spinner-overlay inside a box with position: relative (a card already has it) and set aria-busy="true" on the box while it loads.

Monthly report

Visits, sign-ups and sales for November.

Loading the report…
<div class="card max-w-sm" aria-busy="true" style="position: relative">
  <div class="card-body">
    <h3 class="card-title">Monthly report</h3>
    <p class="card-text text-muted">Visits, sign-ups and sales for November.</p>
    <button class="btn btn-sm" type="button">Download</button>
  </div>
  <div class="spinner-overlay" role="status"><span class="spinner"></span>Loading the report…</div>
</div>

For a button, use .btn.is-loading (see Button); for content still on its way, a skeleton shows its shape.

Classes

ClassDoes
.spinnerA turning ring, 24px (--spinner-size, --spinner-width)
.spinner-sm / -lg16px / 40px
.spinner-dotsThree dots appearing one by one
.spinner-overlayCovers its box with a faded layer and centers what is inside

Accessibility

Start

OverviewStart Getting startedStart CustomizeStart

Guides

AccessibilityGuides BreakpointsGuides ChangelogGuides Customize componentsGuides JavaScriptGuides MotionGuides OptimizeGuides PhonesGuides RebootGuides Right-to-left (RTL)Guides Stacking orderGuides Using Momo with AIGuides

Foundations

ColorsFoundations TypographyFoundations ProseFoundations Images & figuresFoundations CodeFoundations Lines & shadowsFoundations Dark modeFoundations

Forms

Checkbox & switchForms ComboboxForms Date pickerForms Date rangeForms Fields & labelsForms File uploadForms Floating labelsForms Number stepperForms PasswordForms PIN codeForms RatingForms SelectForms SliderForms Tag inputForms Time pickerForms ValidationForms

Components

AccordionComponents Alert & bannerComponents AvatarComponents BadgeComponents BreadcrumbComponents ButtonComponents Button groupComponents CalendarComponents CardComponents CarouselComponents ChartsComponents ChipsComponents CollapseComponents Command paletteComponents CommentsComponents Confirm dialogsComponents Cookie bannerComponents Data tableComponents Description listComponents Dialog & toastComponents DividerComponents DrawerComponents Dropdown menuComponents Empty stateComponents File managerComponents Filter & sortComponents Gallery & lightboxComponents Inbox & chatComponents Infinite scrollComponents KanbanComponents Keyboard shortcutsComponents List groupComponents MarqueeComponents Media objectComponents Nav overflowComponents Notification centerComponents PaginationComponents ProgressComponents Pull to refreshComponents SkeletonComponents SortableComponents SpinnerComponents Split viewComponents Stat cardComponents Steps & wizardComponents Swipe actionsComponents TableComponents TabsComponents TimelineComponents TogglerComponents Tooltip & popoverComponents TourComponents Tree viewComponents VideoComponents WhiteboardComponents

Layout

Announcement barLayout App shellLayout Back to topLayout Container & sectionLayout ExamplesLayout FooterLayout HeroLayout JumbotronLayout Mega menuLayout NavbarLayout Site sidebarLayout

Sections

Bento gridSections Blog cardsSections Call to actionSections Contact & newsletterSections FAQSections FeaturesSections Logo cloudSections PricingSections TeamSections TestimonialsSections

Utilities

OverviewUtilities State variantsUtilities Display & flexUtilities Grid & gapUtilities SpacingUtilities SizingUtilities TextUtilities Links & color strengthUtilities Position & overflowUtilities BackgroundsUtilities Borders & effectsUtilities Transforms & filtersUtilities InteractionsUtilities

Helpers

Fixed, sticky & frostedHelpers Hover & focusHelpers Hover revealHelpers Icon linkHelpers PrintHelpers Relative timeHelpers Screen reader textHelpers Scroll inHelpers ScrollspyHelpers Share buttonHelpers Skip linkHelpers StacksHelpers Stretched linkHelpers Theme toggleHelpers Truncated textHelpers

Page patterns

404 pagePage patterns Coming soonPage patterns Login & registerPage patterns SettingsPage patterns ProfilePage patterns CRM contactsPage patterns ProjectsPage patterns File manager pagePage patterns Billing & plansPage patterns Help centerPage patterns Mobile app screensPage patterns
↑ ↓ moveEnter openEsc close