Skip to content
v0.9.1
Helpers

Hover & focus

Small reactions for your own things: lift with a hard shadow, grow, dim, and focus rings that match Momo's components. Hover effects only happen with a mouse; people who ask their device for less motion get them without the movement.

Hover

<a class="box p-5 hover-lift link-reset" href="#">hover-lift</a>
<a class="box p-5 hover-grow link-reset" href="#">hover-grow</a>
<a class="box p-5 bg-violet hover-dim link-reset" href="#">hover-dim</a>

Focus rings

Every Momo component already shows a ring for the keyboard. These are for your own things. Tab to each one:

focus-ring
focus-ring-inset (inside a scrolling box)
<div class="box p-4 focus-ring" tabindex="0">focus-ring</div>
<div class="box p-0 h-24 w-48 overflow-y-auto"><div class="p-4 focus-ring-inset" tabindex="0">focus-ring-inset (inside a scrolling box)</div></div>
<div class="box p-3 focus-within-ring hstack"><input class="form-control border-0" placeholder="focus-within-ring" aria-label="Search"><i class="mi mi-search text-muted" aria-hidden="true"></i></div>

Classes

ClassDoes
.hover-liftMoves up and left 2px with a 3px hard shadow
.hover-growGrows 2.5%
.hover-dimFades to 80%
.focus-ringA 3px brand ring outside it on keyboard focus
.focus-ring-insetThe same ring drawn inside the edge (not cut off by a scrolling box)
.focus-within-ringA ring around the whole box when anything inside has keyboard focus

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