Moey Icons
No results. Try “dialog”, “dark” or “grid”.
Getting started

Changelog

What changed in each version of Moey. A link with a version in it (moey-ui@0.1.0) always serves exactly that version, so your pages never change until you change the link.

v0.2.0

Latest
  • Masonry places items exactly. Each item gets its own position (the shortest column so far) instead of 1px grid rows. It measures the real layout size, so zoom, scaling or an entrance animation no longer makes items overlap; gaps stay exact on long pages; and very long feeds work in every browser (Firefox stops 1px grid rows at about 10,000px).
  • New items glide in: data-moey-enter (="fade", ="zoom") on any list or grid animates items added later, such as infinite scroll and "Load more". Items that only move don't animate.
  • .dialog-fullscreen-phone: a normal dialog on larger screens, the whole screen on phones instead of a bottom sheet.
  • Page-wide dialog colors: --mo-dialog-bg and the new --mo-dialog-fg can be set on :root and every dialog, drawer and sheet follows (before, each dialog set its own --mo-dialog-bg, so a page-level value was ignored).
  • Stat tiles fit small phones. Two to a row at 280px, the value no longer gets cut off and the icon no longer hangs over the next tile: the value scales down a little on small screens, and the icon moves under the label when they don't fit side by side.
  • Smooth scrolling only for in-page links. html no longer has scroll-behavior: smooth; moey.js turns it on just for a click on a #link. Scripts that scroll the page (scrollTo, scrollIntoView) land at once again.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/moey-ui@0.2.0/dist/moey.min.css">
<script src="https://cdn.jsdelivr.net/npm/moey-ui@0.2.0/dist/moey.min.js" defer></script>

v0.1.0

The first release.

  • One stylesheet, one script, no dependencies. dist/moey.css (cascade layers: tokens, reboot, layout, content, forms, components, helpers, utilities) and dist/moey.js, plus minified copies. Inter and JetBrains Mono are bundled and self-hosted.
  • Mobile first. Every page works down to 280px wide with no sideways scrolling; menus and dialogs become bottom sheets on phones and sit on the on-screen keyboard; fields never zoom the page.
  • Colors and themes. 14 named colors × 12 shades, six strengths per component, painted areas (theme-<color>-<strength>), light and dark mode, and a brand switch (data-mo-brand), black "tuxedo" by default. Contrast checked to WCAG AA in both modes.
  • Layout. Containers, a 12-column grid, CSS grid with grid-cols-* and grid-min-*, masonry, an app shell and sidebar, container queries, right-to-left.
  • Forms. Fields, Moey dropdowns for every select, checkboxes, switches (also with a word inside), range, color picker, input groups, floating labels, chips, combobox, datepicker, time picker, OTP, password strength, validation, and rich text with the Mob editor.
  • Components. Accordion, alert, avatar, badge, bottom sheet, breadcrumb, button, card, carousel, dialog, drawer, list group, menu, nav, navbar, tab bar, pagination, popover, progress, scrollspy, spinner, tabs, toasts, tooltip and more.
  • Work-app extras. Data tables you edit in place (virtual scrolling, expandable, tree and grouped rows), charts, Kanban, split view, calendar, chat (with files, pictures and voice notes), keyboard shortcuts, tours, command palette, notification center, swipe actions, pull to refresh, sortable lists, filter & sort, infinite scroll, lightbox, audio and video player, click-to-load embeds.
  • Utilities. Display, flex, grid, spacing (the number × 4px), sizing, text, colors, backgrounds, borders, effects, position, overflow, aspect ratio, interactions. Phone first, with responsive prefixes.
  • Accessible by default. Keyboard support, focus rings, screen-reader roles and announcements, reduced motion.
  • Smaller builds. node build.mjs --without=… --breakpoints=… --out=….
  • For AI assistants. dist/ai-rules.md, and docs/llms.txt / docs/llms-full.txt.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/moey-ui@0.1.0/dist/moey.min.css">
<script src="https://cdn.jsdelivr.net/npm/moey-ui@0.1.0/dist/moey.min.js" defer></script>