Skip to content
v0.9.1
Helpers

Fixed, sticky & frosted

Bars that stay on screen. .fixed-top and .fixed-bottom never move; .sticky-top and .sticky-bottom scroll with the page until they reach the edge, then stay. .frosted makes a bar see-through with the page blurred behind it.

Sticky inside a scrolling box

Inbox
New comment on Website redesign
Invoice 1042 is due tomorrow
Lucy approved the brand assets
Weekly planning moved to 2 PM
3 new signups today
5 messages
<div class="box p-0 h-64 overflow-y-auto">
  <div class="sticky-top frosted border-b px-4 py-3 font-semibold">Inbox</div>
  <div class="p-4 stack gap-3">
    <div class="box p-3 bg-violet-soft">New comment on Website redesign</div>
    <div class="box p-3 bg-yellow-soft">Invoice 1042 is due tomorrow</div>
    <div class="box p-3 bg-green-soft">Lucy approved the brand assets</div>
    <div class="box p-3 bg-pink-soft">Weekly planning moved to 2 PM</div>
    <div class="box p-3 bg-cyan-soft">3 new signups today</div>
  </div>
  <div class="sticky-bottom frosted border-t px-4 py-3 hstack"><span class="text-sm text-muted">5 messages</span><span class="spacer"></span><button class="btn btn-sm btn-brand" type="button">Mark all read</button></div>
</div>

Scroll the box: the header and footer stay put, and the cards show through them, blurred.

Classes

ClassDoes
.fixed-top / .fixed-bottomStays at the top / bottom of the screen (layer 30). The bottom one keeps clear of a phone's home bar.
.sticky-top / .sticky-bottomSticks once it reaches the top / bottom of its scrolling box (layer 20)
.frosted78% see-through with a blur behind. --frost-bg picks the color (the surface by default). Browsers without blur get a solid background.

Good to know

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