Skip to content
v0.9.1
Components

List group

A framed list of rows: settings, a side menu, search results, a checklist. Rows can be plain text, links or buttons, with icons, two lines of text, and a badge at the end.

Links

The current row gets aria-current="true" (or "page") and is filled in.

<div class="list-group max-w-sm">
  <a class="list-group-item" href="#" aria-current="true"><i class="mi mi-user" aria-hidden="true"></i>Profile</a>
  <a class="list-group-item" href="#"><i class="mi mi-bell" aria-hidden="true"></i>Notifications <span class="badge badge-yellow">3</span></a>
  <a class="list-group-item" href="#"><i class="mi mi-lock" aria-hidden="true"></i>Privacy</a>
  <a class="list-group-item" href="#"><i class="mi mi-credit-card" aria-hidden="true"></i>Billing</a>
  <a class="list-group-item" aria-disabled="true"><i class="mi mi-users" aria-hidden="true"></i>Team <small class="ms-auto">Pro plan</small></a>
</div>

Two lines

  • AMAna MorenoCommented on Homepage2m
  • LKLeo KimMoved Pricing page to Done1h
  • SOSade OkaforUploaded 3 filesMon
<ul class="list-group max-w-md">
  <li class="list-group-item"><span class="avatar bg-yellow-soft">AM</span><span><b>Ana Moreno</b><small>Commented on Homepage</small></span><span class="list-group-end text-sm text-muted">2m</span></li>
  <li class="list-group-item"><span class="avatar bg-violet-soft">LK</span><span><b>Leo Kim</b><small>Moved Pricing page to Done</small></span><span class="list-group-end text-sm text-muted">1h</span></li>
  <li class="list-group-item"><span class="avatar bg-green-soft">SO</span><span><b>Sade Okafor</b><small>Uploaded 3 files</small></span><span class="list-group-end text-sm text-muted">Mon</span></li>
</ul>

Checklist, numbered, side by side

  1. Sign up
  2. Invite your team
  3. Make your first project
<div class="grid md:grid-cols-2 gap-6">
  <div class="list-group">
    <label class="list-group-item check"><input type="checkbox" checked> Pick a brand color</label>
    <label class="list-group-item check"><input type="checkbox" checked> Write the hero</label>
    <label class="list-group-item check"><input type="checkbox"> Add the pricing</label>
  </div>
  <ol class="list-group list-group-numbered">
    <li class="list-group-item">Sign up</li>
    <li class="list-group-item">Invite your team</li>
    <li class="list-group-item">Make your first project</li>
  </ol>
</div>
<div class="list-group list-group-horizontal mt-6">
  <a class="list-group-item" href="#" aria-current="true">Day</a>
  <a class="list-group-item" href="#">Week</a>
  <a class="list-group-item" href="#">Month</a>
</div>

Classes

ClassDoes
.list-groupThe frame (ul, ol or div of links / buttons / labels)
.list-group-itemA row; links, buttons and labels light up on hover
aria-current / .is-activeThe chosen row, filled in
aria-disabled="true" / disabledFaded and not clickable
.list-group-end (or a .badge)Pushed to the end of the row
.list-group-flushNo outer frame, to sit inside a card
ol.list-group-numberedNumbers in front
.list-group-horizontalRows side by side

For a menu that opens from a button, use Menu; for a site's side menu, the site sidebar.

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