# Momo UI > Momo UI: a neobrutalist UI kit for web apps. Thick lines, hard shadows, flat pop colors. One CSS file and one script, no build step. Version 0.9.1. The full text of the documentation is at https://momo.moey.dev/docs/llms-full.txt ## Start - [Overview](https://momo.moey.dev/docs/): A small CSS framework for dashboards, tools and phone web apps: thick ink lines, soft flat colors and heavy titles. Flat by default; hard shadows and press effects when you want them. - [Getting started](https://momo.moey.dev/docs/getting-started): One stylesheet and one script from npm. No build step, no framework: add them, write plain HTML with Momo classes, and every component wakes up on its own. - [Customize](https://momo.moey.dev/docs/customize): A few settings shape every component. Change them here and the whole docs follows, live. Then copy the CSS into your app. ## Guides - [Accessibility](https://momo.moey.dev/docs/accessibility): What Momo does so that everyone can use what you build, by keyboard, by screen reader, by touch, at any zoom, and what is left for you to do. - [Breakpoints](https://momo.moey.dev/docs/breakpoints): The screen widths at which layouts change. Momo starts from the phone and adds to it as the screen gets wider, and many parts follow the room they have, not the screen. - [Changelog](https://momo.moey.dev/docs/changelog): What changed in each version of Momo UI, newest first. - [Customize components](https://momo.moey.dev/docs/customize-components): Every component is built from a few CSS variables of its own. Change one on a single element, on a section, or everywhere, and the component redraws itself. No overriding of selectors, no !important. - [JavaScript](https://momo.moey.dev/docs/javascript): One script, no framework, nothing to start by hand. You write HTML with data-momo-... attributes; Momo finds them, also in content you add later, and tells you what happened through events. - [Motion](https://momo.moey.dev/docs/motion): How Momo moves: quick and plain, to show where something came from or that it answered. Two settings tune it, and it turns itself down for people who ask their device for less motion. - [Optimize](https://momo.moey.dev/docs/optimize): How big Momo is, what your visitors really download, and the few steps that make it smaller and faster. - [Phones](https://momo.moey.dev/docs/phones): What Momo does by itself on a small touch screen: pop-ups become bottom sheets, wide layouts stack, buttons grow to finger size, and the gestures people expect work. Same markup, nothing to add. - [Reboot](https://momo.moey.dev/docs/reboot): The handful of rules Momo sets on plain HTML before any class is used, so every browser starts from the same place. It is short on purpose: about fifty lines. - [Right-to-left (RTL)](https://momo.moey.dev/docs/rtl): Arabic, Hebrew, Persian, Urdu: set the page's direction and Momo mirrors itself. Layouts, menus, drawers, arrows, switches, step lines and the split view all follow. - [Stacking order](https://momo.moey.dev/docs/stacking): What sits on top of what: sticky bars under drawers, drawers under dialogs, tooltips over everything. Momo uses a small, fixed ladder so the parts never fight, and most pop-ups do not need it at all. - [Using Momo with AI](https://momo.moey.dev/docs/ai): The whole documentation as plain text, in the form coding assistants read best. Point your assistant at one file and it writes Momo markup that works. ## Foundations - [Colors](https://momo.moey.dev/docs/colors): Ten soft flat colors on a warm cream page. The brand is ink (black) by default. Color names only: there are no "primary" or "danger" classes. - [Typography](https://momo.moey.dev/docs/typography): Familjen Grotesk for text and headings (any weight from 400 to 700, with italics) and Iosevka Charon Mono for code and numbers. Body text is 16px so phones never zoom. - [Prose](https://momo.moey.dev/docs/prose): For long text you don't write class by class: a blog post, a help article, anything that comes out of a CMS or Markdown. Wrap it in .prose and plain HTML gets comfortable line length, spacing, quotes, lists, pictures and tables. - [Images & figures](https://momo.moey.dev/docs/images): Pictures that never spill out of their box, a framed thumbnail, and a picture with a caption. Inside an article, prose already does all of this. - [Code](https://momo.moey.dev/docs/code): Code is set in Iosevka Charon Mono. Inline code is a small chip; blocks are dark boxes that wrap long lines by default, with an optional copy button. - [Lines & shadows](https://momo.moey.dev/docs/lines-shadows): The core of the Momo look: a crisp 1px ink border and subtly rounded corners. Everything is flat; hard offset shadows (no blur) are an option you add where you want them, or turn on everywhere. - [Dark mode](https://momo.moey.dev/docs/dark-mode): Momo follows the system by default. Set data-momo-mode on to choose. ## Forms - [Checkbox & switch](https://momo.moey.dev/docs/checks): Real checkbox and radio inputs with the Momo look: ink boxes, a yellow fill when on, and a tiny hard shadow on hover. They work without JavaScript. - [Combobox](https://momo.moey.dev/docs/combobox): A text field with suggestions. Point any input at a and it gets a Momo suggestion list instead of the browser's: typing filters it, best matches first, and capitals and accents don't matter. - [Date picker](https://momo.moey.dev/docs/datepicker): Pick one date from a calendar: due dates, birthdays, bookings. Put a date field in .datepicker with data-momo-datepicker. The field stays in the form; momo.js turns it into a button and a month. Without JavaScript the plain date field still works. - [Date range](https://momo.moey.dev/docs/daterange): Pick a start and an end date: for reports, bookings, filters and time off. Put two date fields in .daterange with data-momo-daterange. They stay in the form; momo.js turns them into one button with quick ranges and two months side by side. Without JavaScript the two date fields still work. - [Fields & labels](https://momo.moey.dev/docs/forms): Labels, text fields, hints and validation. Fields are flat; on focus they get a thick outline in the brand color. Text is 16px so phones never zoom in. - [File upload](https://momo.moey.dev/docs/upload): A drop zone for files: drag them in or click to pick. Files go into the real file input, so a normal form sends them, and show up in a list with their type, size and progress. - [Floating labels](https://momo.moey.dev/docs/floating-labels): The label sits inside the field like a hint, and floats up to the top edge as soon as you type, so the field is never left without its name. A compact look for sign-in and checkout forms. - [Number stepper](https://momo.moey.dev/docs/stepper): A number with − and + buttons. Put a number field in .stepper: momo.js adds the buttons, keeps the value inside min and max, and keeps counting while a button is held. - [Password](https://momo.moey.dev/docs/password): A password field with a show / hide button, and when someone makes a new password, a strength meter and a checklist that ticks off as they type. A note shows while Caps Lock is on. - [PIN code](https://momo.moey.dev/docs/pin): Boxes for a one-time code or a PIN. It is one real input drawn as boxes, so phones can fill the code from a text message, pasting a whole code works, and screen readers read it as one field. - [Rating](https://momo.moey.dev/docs/rating): Stars for reviews and feedback. The stars you click are real radio buttons, so arrow keys work and forms get the value. A read-only score can show any fraction, like 4.3. The stars are Moey Icons star and star-filled. - [Select](https://momo.moey.dev/docs/select): Write a normal . momo.js turns it into a Momo dropdown that looks and works the same in every browser, iPhone included. The real select stays underneath, in sync, so forms and validation keep working. - [Slider](https://momo.moey.dev/docs/slider): Pick a number by dragging. It is the native with the class .slider, so arrow keys, Home/End, PgUp/PgDn, forms and screen readers all work. momo.js paints the filled part and shows the value. - [Tag input](https://momo.moey.dev/docs/tags): Type a word, press Enter or a comma, and it becomes a chip. For skills, labels, recipients and filters. Add data-momo-tags to a normal text field: it stays in the form and sends the tags joined by commas. - [Time picker](https://momo.moey.dev/docs/time): Pick the hour and the minutes separately, or just type a time. 12-hour and 24-hour clocks. The field shows a friendly time; the form gets a plain HH:MM. - [Validation](https://momo.moey.dev/docs/validation): Tell people what is wrong, next to the field, in plain words. Momo checks the form when it is sent, using the rules you already wrote in HTML, and shows the messages in its own style. ## Components - [Accordion](https://momo.moey.dev/docs/accordion): Sections that open and close. Built on the native element: it works without JavaScript, with the keyboard, and with find-in-page (the browser opens the section that holds the match). - [Alert & banner](https://momo.moey.dev/docs/alert): Messages inside the page (alerts) and across the top of it (banners). A button with data-momo-dismiss removes them. - [Avatar](https://momo.moey.dev/docs/avatar): A person's photo, initials or an icon in an ink circle. Stack them for teams, pair them with a name for lists and tables. - [Badge](https://momo.moey.dev/docs/badge): Small bordered labels for status, categories and counts. - [Breadcrumb](https://momo.moey.dev/docs/breadcrumb): Shows where a page sits, with links back up. On phones it shrinks to a single "← parent" link. - [Button](https://momo.moey.dev/docs/button): Flat by default: an ink border and a light tint on hover. Add a hard shadow, a press effect or a lift only where you want it. - [Button group](https://momo.moey.dev/docs/button-group): Buttons joined edge to edge, for things that belong together: text styles, views, "previous / next". Plus a toolbar to line several groups up, and checkboxes or radios that look like buttons. - [Calendar](https://momo.moey.dev/docs/calendar): A month with colored events, a small date picker, a week strip and an agenda list. momo.js draws the month; you list the events. - [Card](https://momo.moey.dev/docs/card): A white box with an ink border for grouping content. Flat by default: add .shadow when a card should stand out. - [Carousel](https://momo.moey.dev/docs/carousel): Slides in a row that snap into place. Swipe on a phone, scroll with a trackpad, press the arrows or the dots, or use the arrow keys. It is a scrolling row underneath, so it works (as a swipeable row) even without JavaScript. - [Charts](https://momo.moey.dev/docs/chart): Charts drawn from a plain HTML table. Put a in a figure.chart with data-momo-chart: momo.js draws it, adds a legend, a tooltip for the pointer and the keyboard, and a Table button. Without JavaScript the table shows, so every value is always readable. - [Chips](https://momo.moey.dev/docs/chips): Small pieces for people, places, tags and choices. A chip can carry an icon or an avatar, be removed, or be pressed like a filter. - [Collapse](https://momo.moey.dev/docs/collapse): Show and hide any block with a button, with a smooth slide: a filter panel, extra details, "Read more" on a long text. For a list of questions, the accordion is simpler. - [Command palette](https://momo.moey.dev/docs/palette): Press Ctrl + K (⌘ + K on Mac) to search and run anything: pages, actions, people. Try it on this page: it searches the whole docs. - [Comments](https://momo.moey.dev/docs/comments): Threads for tasks, documents, deals and posts: replies, likes, @mentions and a box that grows as you write. Add data-momo-comments to a section.comments and tell it who is writing with data-me. - [Confirm dialogs](https://momo.moey.dev/docs/confirm): "Delete 3 orders?" in one line. Momo.confirm(), Momo.alert() and Momo.prompt() show a Momo dialog and give you the answer, with no markup to write. Or put data-momo-confirm on a button, a link or a form and it asks before going ahead. - [Cookie banner](https://momo.moey.dev/docs/cookie): Asks once whether the site may use cookies, remembers the answer, and lets the reader change their mind later. Scripts like analytics can wait until they say yes. The banner sits in a corner (or along the bottom) and never covers the page. - [Data table](https://momo.moey.dev/docs/data-table): The plain table, with superpowers: search, pages, sorting, rows that open, tree rows, groups that fold, and cells you can edit in place. Each is one attribute or class, and they all work together. - [Description list](https://momo.moey.dev/docs/description-list): Labels and their values: order details, a customer profile, a settings summary. Side by side on bigger screens, stacked on phones. - [Dialog & toast](https://momo.moey.dev/docs/dialog): A box over the page for a focused task. It is the native : the keyboard stays inside it, Esc closes it, and focus goes back to the button that opened it. On phones it slides up as a bottom sheet. - [Divider](https://momo.moey.dev/docs/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. - [Drawer](https://momo.moey.dev/docs/drawer): A panel that slides in from an edge of the screen and slides back out: a site menu, a cart, filters, details. It is a dialog underneath, so focus stays inside, Esc closes it and the page behind can't scroll. A tap outside closes it too. - [Dropdown menu](https://momo.moey.dev/docs/menu): A dropdown menu: a list of actions that opens from a button (the class is .menu). It floats above the page with a hard shadow, closes when you pick or click away, and becomes a bottom sheet on phones. - [Empty state](https://momo.moey.dev/docs/empty): What a screen shows when there is nothing yet: no tasks, no results, no messages. Say what goes here and give one clear next step. - [File manager](https://momo.moey.dev/docs/files): Folders and files in a grid or a list: pick one or many, sort, search, rename, delete and drop new files in from the computer. Write each file as an empty li.file with its details; momo.js adds the icon for its type, the size, the date and the tick box. - [Filter & sort](https://momo.moey.dev/docs/filter-sort): Buttons that show only what matches, a search box, and sorting, for any set of items: a team page, product cards, a gallery, a list. Items glide to their new places, a count keeps track, and it works with what you already have. - [Gallery & lightbox](https://momo.moey.dev/docs/gallery): A grid of thumbnails, each a link to the big picture. Click one and it opens large in a lightbox, with arrows, a counter and a caption; arrow keys and swipes move through them. You can zoom in, pull the picture down to close it on a phone, show a strip of thumbnails and mix in videos. Without JavaScript the links just open the pictures. - [Inbox & chat](https://momo.moey.dev/docs/chat): A message list next to a conversation, chat bubbles, a composer that grows as you type, and an activity feed. Built for messaging, support desks, CRMs and comments. - [Infinite scroll](https://momo.moey.dev/docs/infinite-scroll): The next items load as you reach the end of the list: feeds, galleries, search results. After a few loads it waits for a "Load more" button, so people can still get to your footer; it says when it is loading and when there is nothing more. - [Kanban](https://momo.moey.dev/docs/kanban): Columns of task cards you can move around. Drag with the mouse, press and hold on a touch screen, or use the keyboard. Counts update by themselves. - [Keyboard shortcuts](https://momo.moey.dev/docs/shortcuts): Give any button a key with data-momo-shortcut, show keys that match the person's computer (⌘ on a Mac, Ctrl elsewhere), and let people press ? for the list of everything they can press. - [List group](https://momo.moey.dev/docs/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. - [Marquee](https://momo.moey.dev/docs/marquee): A strip that scrolls by forever: a band of bold words across a landing page, a row of logos or reviews. It pauses when hovered or focused, and stands still for readers who prefer less motion. - [Media object](https://momo.moey.dev/docs/media-object): A picture beside some text: comments, feeds, list rows, profiles. The text never wraps under the picture, and long words never push it out. - [Nav overflow](https://momo.moey.dev/docs/nav-overflow): When links or tabs do not fit, the last ones move into a "More" menu instead of scrolling off the edge. The page you are on always stays in view. On phones, More opens as a bottom sheet. - [Notification center](https://momo.moey.dev/docs/notifications): A bell with an unread count that opens your notifications. Write the list in HTML: Momo keeps the count, the read state and the times up to date. - [Pagination](https://momo.moey.dev/docs/pagination): Page numbers for long lists: search results, a blog, a table. Links, so every page has its own address and works without JavaScript. - [Progress](https://momo.moey.dev/docs/progress): How far along something is. It is the native element, so screen readers already understand it: set value and max. - [Pull to refresh](https://momo.moey.dev/docs/pull-to-refresh): Pull down at the top of a list to load what is new: the gesture every phone app has. The content follows your finger, an arrow turns when you have pulled far enough, and a spinner stays until your data has arrived. - [Skeleton](https://momo.moey.dev/docs/skeleton): Grey shapes that stand in for content while it loads, so the page doesn't jump. A soft shimmer runs across them (off when the system asks for less motion). - [Sortable](https://momo.moey.dev/docs/sortable): Drag things into the order you want: tasks, menu items, table rows, dashboard cards. One attribute on the list. It works with a mouse, a finger and the keyboard, and tells your app the new order so you can save it. - [Spinner](https://momo.moey.dev/docs/spinner): Shows that something is loading. It takes the text color, so it fits on any background. For a whole box that is busy, lay one over it. - [Split view](https://momo.moey.dev/docs/split-view): A list and the details of what you picked: an inbox, contacts, tickets, settings. Side by side when there is room, with a divider you can drag; one screen at a time on phones, where the details slide in and the phone's own Back returns to the list. - [Stat card](https://momo.moey.dev/docs/stat): One number with a label: revenue, users, views. Flat like every box; add .shadow to lift it. - [Steps & wizard](https://momo.moey.dev/docs/steps): Show where someone is in a process, and walk them through a long form one part at a time. - [Swipe actions](https://momo.moey.dev/docs/swipe): Swipe a row to show its buttons: archive, delete, mark as read, the way mail and messaging apps do. A long swipe does the main action straight away. Scrolling up and down still works, and every action is a real button, so nothing depends on the gesture. - [Table](https://momo.moey.dev/docs/table): Clean rows with thin lines and an ink rule under the header. Wrap it in .table-wrap for the bordered box that scrolls sideways on small screens. - [Tabs](https://momo.moey.dev/docs/tabs): Switch between views in the same place. The chosen tab is a solid ink block; the others show an outline on hover. - [Timeline](https://momo.moey.dev/docs/timeline): What happened, in order: activity, history, order tracking. Markers sit on an ink line; finished steps are green, the current one is brand, upcoming ones are dashed. - [Toggler](https://momo.moey.dev/docs/toggler): A button that switches something on and off: a star, a setting, a compact table, a filter panel. Add data-momo-toggle; momo.js flips it, keeps screen readers told, and can remember it. - [Tooltip & popover](https://momo.moey.dev/docs/tooltip): A tooltip is a short label that appears on hover, keyboard focus or a long press. A popover is a small floating panel you open with a click, for filters, details or quick edits. - [Tour](https://momo.moey.dev/docs/tour): Show new people around: a spotlight on one part of the page and a short card explaining it, step by step, with Back, Next and Skip. Write it right in your HTML, or start it from code; let it run once and remember it is done. - [Tree view](https://momo.moey.dev/docs/tree): Folders and files, categories, permissions. Plain nested lists: folders are native , so they open and close even without JavaScript. - [Video](https://momo.moey.dev/docs/video): A frame that keeps a video's shape on every screen (16:9 unless you say otherwise), for your own or an embedded player. And a "click to play" cover that only loads the player when pressed, so the page stays fast and nothing loads from a video site until the reader asks for it. - [Whiteboard](https://momo.moey.dev/docs/board): A board you can pan and zoom, with sticky notes, text and Momo cards you move around freely. It is the look and the feel of a whiteboard: everything stays in the page, and it tells you what changed so you can save it your way. ## Layout - [Announcement bar](https://momo.moey.dev/docs/announce): One line at the very top of a website for news: a launch, a sale, a new version. It goes above the navbar and scrolls away with the page. A close button hides it, and with data-momo-dismiss it stays hidden on later visits. - [App shell](https://momo.moey.dev/docs/app): The frame of an app: a black sidebar, a top bar, the content, a footer, and a tab bar on phones. On screens under 992px the sidebar slides in from a menu button. - [Back to top](https://momo.moey.dev/docs/back-to-top): A round button in the corner that takes the reader back to the top of a long page. It appears once a screen has scrolled by, and its ring fills up as you read, so it doubles as a "how far am I" meter. - [Container & section](https://momo.moey.dev/docs/layout): The frame of a website page. A .section is a full-width band with steady space above and below; a .container inside it keeps the content in a centered column with side padding that grows with the screen. - [Examples](https://momo.moey.dev/docs/examples): Whole screens built only from Momo: copy the parts you need. - [Footer](https://momo.moey.dev/docs/footer): The bottom of a website: your name and a line about you, columns of links, social icons, a newsletter box and the small print. The columns sit side by side when there is room and stack on a phone (the footer measures its own width, not the screen's). - [Hero](https://momo.moey.dev/docs/hero): The big opening block of a page: a short message, one or two buttons and maybe a picture. It can fill the whole screen, run edge to edge, sit text beside a picture, and take any Momo color or a background pattern. - [Jumbotron](https://momo.moey.dev/docs/jumbotron): A big callout inside a page: a welcome on a dashboard, an announcement, or an "are you ready?" box before the footer. Smaller and simpler than a hero. - [Mega menu](https://momo.moey.dev/docs/mega-menu): A big dropdown for a site with lots of pages. It opens under the whole navbar with columns of links, a featured card and a row at the bottom. When the navbar folds on a phone, the same markup becomes a plain list inside the menu panel. - [Navbar](https://momo.moey.dev/docs/navbar): The header of a website: logo, links with dropdowns, and buttons. One piece of markup works on every screen: when there isn't room, the links fold into a panel that slides in from the side, opened by a ☰ button. - [Site sidebar](https://momo.moey.dev/docs/site-sidebar): The side menu of a docs site, a help center or a blog: groups of links next to the content, with an optional "On this page" list on the other side that follows along as you read. On a narrow screen the sidebar tucks away behind a Menu button and slides in from the side. ## Sections - [Bento grid](https://momo.moey.dev/docs/bento): Tiles of different sizes in one tidy grid, like a lunch box: a big one for the main thing, wide and tall ones around it. Four columns when there is room, two on a tablet, one on a phone; the grid fills gaps by itself. - [Blog cards](https://momo.moey.dev/docs/blog-cards): Posts as cards: a picture, a tag and date, a title, a line of text and the author. The whole card is clickable (the title's link is stretched over it), while the tag stays its own link. - [Call to action](https://momo.moey.dev/docs/cta): The closing ask: one line, one sentence, one or two buttons. Plain, painted in a color, with the buttons beside the text, or with an email field. - [Contact & newsletter](https://momo.moey.dev/docs/contact): How to reach you, and a form to write to you, side by side. Plus a newsletter box for the end of a page. The form uses the regular form parts; Momo only adds the contact list and the one-line sign-up form. - [FAQ](https://momo.moey.dev/docs/faq): Questions people ask before they buy, with short answers that open in place. Built from a section head and an accordion, so it works without JavaScript and with the keyboard. - [Features](https://momo.moey.dev/docs/features): A grid of what your product does: an icon, a short title and a sentence each. As many columns as fit (each at least 240px), so it is three across on a laptop and one on a phone. - [Logo cloud](https://momo.moey.dev/docs/logos): A row of the logos of people who use you, press that mentioned you, or tools you work with. Use your own logo files (SVG or PNG); the demos below use made-up word logos. - [Pricing](https://momo.moey.dev/docs/pricing): Plans side by side: a name, the price, what's included and a button. One plan can stand out. A monthly / yearly switch changes every price at once, with no JavaScript. - [Team](https://momo.moey.dev/docs/team): The people behind the product: a photo, a name, a role, and links if you like. Use real photos with ; the demos use colored tiles with initials. - [Testimonials](https://momo.moey.dev/docs/testimonials): What people say about you, in their words, with their name and face. A with a and a , so it reads correctly to everyone. ## Utilities - [Overview](https://momo.moey.dev/docs/utilities): Small one-job classes for layout and spacing, with the same short names as Moey: flex, gap-4, p-6, w-full. Use them to place components without writing CSS. - [State variants](https://momo.moey.dev/docs/variants): Put a state in front of a utility and it only applies in that state: hover:shadow-md, dark:hidden, print:hidden. Like the screen-size prefixes (md:flex), but for hover, focus, dark mode, reduced motion and printing. - [Display & flex](https://momo.moey.dev/docs/display): Show and hide things, lay them in rows or columns, and line them up. All of these have screen-size versions: hidden md:block hides on phones and shows from 768px. - [Grid & gap](https://momo.moey.dev/docs/grid): Columns that line up. grid grid-cols-3 makes three equal columns, span-2 lets an item take two. With screen sizes: grid md:grid-cols-2 lg:grid-cols-4. - [Spacing](https://momo.moey.dev/docs/spacing): Padding (space inside) and margin (space outside) on the 4px scale: p-4 is 16px, mt-8 is 32px. Sides follow the writing direction, so layouts also work right to left. - [Sizing](https://momo.moey.dev/docs/sizing): Width and height on the 4px scale (w-12 is 48px, h-64 is 256px), in fractions (w-1/2) or to fill (w-full). size-10 sets both at once. - [Text](https://momo.moey.dev/docs/text): Size, weight, alignment and wrapping. Size and alignment have screen-size versions: text-2xl md:text-4xl, text-center md:text-start. There are no letter-spacing classes on purpose: Familjen Grotesk is drawn to be read at its normal spacing. - [Links & color strength](https://momo.moey.dev/docs/links): Color a link and its underline, and fade any color set by a bg-*, text-* or border-* class. - [Position & overflow](https://momo.moey.dev/docs/position): Pin things (sticky top-0), place them on a corner (absolute top-2 end-2), stack them (z-10), and decide what happens when content doesn't fit. - [Backgrounds](https://momo.moey.dev/docs/backgrounds): Color fills, soft gradients, blurred color blobs and patterns. Momo is flat by default: gradients and blobs are extras for a hero or a landing page, so use them in one or two places, not everywhere. - [Borders & effects](https://momo.moey.dev/docs/borders): Lines, corners, dividers, see-through and motion. Width, style and color combine: border-t border-2 border-violet border-dashed. - [Transforms & filters](https://momo.moey.dev/docs/transforms): Tilt, grow, nudge and flip things, and change how pictures look. A slightly tilted sticker or card is very much at home in Momo's bold style. - [Interactions](https://momo.moey.dev/docs/interactions): How things respond to the pointer and to touch: cursors, whether text can be selected, whether clicks pass through, how touch gestures behave. ## Helpers - [Fixed, sticky & frosted](https://momo.moey.dev/docs/fixed-sticky): 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. - [Hover & focus](https://momo.moey.dev/docs/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 reveal](https://momo.moey.dev/docs/reveal): Actions that show up when you point at their row or card, so busy screens stay calm and the buttons are right there when you need them. Pure CSS. - [Icon link](https://momo.moey.dev/docs/icon-link): A link with a Moey icon that lines up with the text. .icon-link-hover nudges the last icon forward when you point at it, a small hint that the link goes somewhere. Plus three link looks: .link-plain (no underline, ever; add hover:underline if you want one), .link-muted (quiet color) and .link-reset (looks like the text around it). - [Print](https://momo.moey.dev/docs/print): Pages that print well without any work: Momo leaves screen-only parts off the paper (navbar, banners, the back-to-top button, carousel arrows...), drops shadows, and keeps pictures and cards from splitting across pages. - [Relative time](https://momo.moey.dev/docs/relative-time): "3 days ago" instead of a full date, for posts, comments and updates. In the page's own language, with the exact date when you hover, and it keeps itself current while the page is open. - [Screen reader text](https://momo.moey.dev/docs/screen-reader): Words that screen readers say but eyes don't see: a name for an icon-only button, "(opens in a new tab)", "Loading...". And text that stays out of sight until it gets keyboard focus. - [Scroll in](https://momo.moey.dev/docs/scroll-in): Things that slide or fade in the first time they scroll into view, for landing pages. Add data-momo-in to anything. Plus a thin reading progress bar for long articles. - [Scrollspy](https://momo.moey.dev/docs/scrollspy): A menu of links to sections on the same page marks the one you are reading as you scroll. For a table of contents, a row of tabs under the header, or a side menu. - [Share button](https://momo.moey.dev/docs/share): One button that shares a page the best way the device can: the phone's own share sheet (Messages, WhatsApp, email...), or, on a computer without one, it copies the link and says so. - [Skip link](https://momo.moey.dev/docs/skip-link): The first thing on every page for keyboard and screen reader users: a "Skip to content" link that jumps past the navbar. It stays out of sight until someone presses Tab, then drops in at the top-left. - [Stacks](https://momo.moey.dev/docs/stacks): The four layouts you reach for all day, as one class each: a column (stack), a row (hstack), a row that wraps (cluster), and a spacer that pushes things apart. - [Stretched link](https://momo.moey.dev/docs/stretched-link): Make a whole card clickable with one real link inside it. Add .stretched-link to the link: its click area covers the card. Other buttons and links in the card still work on their own. - [Theme toggle](https://momo.moey.dev/docs/theme-toggle): Let people switch between light and dark. Momo follows the system setting by default; a toggle or a choice of "Light / Dark / System" overrides it and is remembered on every page. - [Truncated text](https://momo.moey.dev/docs/truncation): Cut long text short and still let people read all of it. .truncate keeps one line, .line-clamp-2 (to 6) keeps a few. When the text really is cut off, pointing at it (or tabbing to it) shows the full text in a tooltip. Text that fits gets no tooltip. ## Page patterns - [404 page](https://momo.moey.dev/docs/not-found): The page people land on when a link is broken. A big number, one friendly sentence, a search box and a few places to go next, so nobody is stuck. The same layout covers a server error or "down for upkeep". - [Coming soon](https://momo.moey.dev/docs/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. - [Login & register](https://momo.moey.dev/docs/login): Signing in and making an account on one page: two tabs, buttons for Google and GitHub, an "or" divider, floating-label fields, "Keep me signed in", a password-reset dialog, and a quote on the other half of the screen (hidden on phones). - [Settings](https://momo.moey.dev/docs/settings): An account settings page: a list of sections on the side, a profile form with a photo, notification switches, security, and a "danger zone" with a confirm dialog. - [Profile](https://momo.moey.dev/docs/profile): A person's page: a colored cover, a big avatar, follow and message buttons, counts, then tabs for activity and projects, with an "about" and contact card on the side. - [CRM contacts](https://momo.moey.dev/docs/crm-contacts): A contact list for a small CRM: numbers on top, search and a filter, a sortable table with checkboxes, colored stages and "last contact 3 days ago", pages at the bottom, a drawer with one person's details and deals, and an "Add contact" dialog. - [Projects](https://momo.moey.dev/docs/projects): All projects as cards: an icon, a status, progress, who is on it and when it is due. The whole card is clickable. A "New project" dialog picks a name and a color. - [File manager page](https://momo.moey.dev/docs/file-manager-page): The file manager component on a full page, with storage used and a split by kind on the side. - [Billing & plans](https://momo.moey.dev/docs/billing): The current plan with its renewal date, usage bars, the saved card, a monthly / yearly plan picker (no JavaScript) and past invoices to download. - [Help center](https://momo.moey.dev/docs/help-center): A help site: a big search box, topics as cards, popular guides, quick answers that open in place, and a way to reach a person. - [Mobile app screens](https://momo.moey.dev/docs/mobile): An app made for the phone: a top bar, lists you can tick, and a dark tab bar at the bottom with a round "+" in the middle that opens a bottom sheet. Here are its four screens; on a computer the same page simply gets wider.