Skip to content
v0.9.1
Page patterns

Coming soon

A one-screen page for before launch: what is coming, a countdown to the day, and an email box to be told. Built from the same status page parts, plus a countdown.

Whole page

Open the coming soon page

Countdown

Give a .countdown the date in data-momo-countdown (with a time zone, like Z for UTC). Momo fills every [data-unit] (days, hours, minutes, seconds) each second; leave out the ones you don't want.

0days
00hours
00minutes
00seconds
<div class="countdown" data-momo-countdown="2027-01-15T09:00:00Z" aria-label="Time until launch">
  <div class="countdown-part"><span class="countdown-num" data-unit="days">0</span><span class="countdown-label">days</span></div>
  <div class="countdown-part"><span class="countdown-num" data-unit="hours">00</span><span class="countdown-label">hours</span></div>
  <div class="countdown-part"><span class="countdown-num" data-unit="minutes">00</span><span class="countdown-label">minutes</span></div>
  <div class="countdown-part"><span class="countdown-num" data-unit="seconds">00</span><span class="countdown-label">seconds</span></div>
</div>

When the time is up

Put an element with data-momo-countdown-done and hidden next to the countdown: at zero the countdown hides and it shows. This one's date has already passed. A momo:countdown-done event fires too.

00hours
00minutes
<div class="text-center">
  <div class="countdown countdown-ink" data-momo-countdown="2026-01-01T00:00:00Z" aria-label="Time until the sale">
    <div class="countdown-part"><span class="countdown-num" data-unit="hours">00</span><span class="countdown-label">hours</span></div>
    <div class="countdown-part"><span class="countdown-num" data-unit="minutes">00</span><span class="countdown-label">minutes</span></div>
  </div>
  <p class="m-0" data-momo-countdown-done hidden><span class="badge badge-green">Live</span> The sale has started. <a href="#">Shop now</a></p>
</div>

Classes and attributes

Class / attributeDoes
.countdown + data-momo-countdown="date"The countdown and the moment it counts to
.countdown-part / -num / -labelOne box: the number (data-unit) and its word
.countdown-inkDark boxes
data-momo-countdown-doneShown (and the countdown hidden) when the time is up
.status-art, .status-eyebrow, .signup-formFrom the 404 page and newsletter

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