Skip to content
v0.9.1
Components

Divider

A line across, with a word or two in the middle if you like: "or" between two ways to sign in, a date between messages, a heading between groups.

Divider

or
<div class="max-w-sm mx-auto">
  <button class="btn w-full" type="button"><i class="mi mi-github" aria-hidden="true"></i> Continue with GitHub</button>
  <div class="divider">or</div>
  <div class="form-field"><label class="form-label" for="dv-email">Email</label><input class="form-control" id="dv-email" type="email"></div>
  <button class="btn btn-brand w-full" type="button">Continue with email</button>
</div>

Kinds

Earlier this week
Yesterday
Section
<div class="divider"></div>
<div class="divider divider-start">Earlier this week</div>
<div class="divider divider-end">Yesterday</div>
<div class="divider divider-strong">Section</div>

Vertical rule

.vr is a thin upright line between things in a row; it stretches to the row's height.

12 posts
3 drafts
Settings
<div class="hstack gap-3 text-sm"><span>12 posts</span><div class="vr"></div><span>3 drafts</span><div class="vr"></div><a href="#">Settings</a></div>

Classes

ClassDoes
.dividerA faint line with text in the middle (empty: just the line)
.divider-start / -endText near the start / end
.divider-strongA full-strength line and text
.vrA vertical line in a row (the text color, faded)

A plain line with no text is also just <hr>. Screen readers read the divider's words, so keep them meaningful ("or", a date).

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