Apps that feel native on every screen.
Moey is a clean, mobile-first front-end framework for admin dashboards, productivity apps and websites. Plain HTML, one stylesheet and one script — flat, accessible, light and dark, right to left.
Those are real components — try the switches, the dropdown and Save.
Everything an app needs
Mobile first, for real
Every page fits down to 280px. Menus become bottom sheets, sheets sit on the keyboard, fields never zoom.
Built for apps
Data tables, comboboxes, datepickers, command palette, app shell and sidebar — not just buttons.
Colors by name
14 colors in six strengths. Paint any area and what's inside stays readable — contrast checked in both modes.
No build step
One stylesheet, one script, plain HTML. Behaviors switch on by themselves — no framework required.
Accessible
Keyboard, focus, screen readers, reduced motion and right-to-left, built in.
AI-ready
Hand your assistant Moey's llms-full.txt and it writes Moey the right way.
Made for work apps — and for phones
Not just buttons and cards: the pieces productivity apps are made of, each working with a mouse, a finger and the keyboard.
Overview
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/moey-ui@0.2.0/dist/moey.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/moey-icons@1.0.0/dist/moey-icons.min.css">
<script src="https://cdn.jsdelivr.net/npm/moey-ui@0.2.0/dist/moey.min.js" defer></script>
Cascade layers
All of Moey lives inside named @layers, in this order. Later layers win over earlier ones, regardless of selector specificity — so utilities always beat components, and any CSS you write without a layer beats all of Moey. No !important needed.
@layer tokens, reboot, layout, content, forms, components, helpers, utilities;
Starter page
Copy this, open it in a browser, and start building. Everything is self-hosted — no CDNs, no build step.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Moey Admin</title>
<link rel="stylesheet" href="dist/moey.css">
<link rel="stylesheet" href="icons/dist/moey-icons.css">
<script src="dist/moey.js" defer></script>
</head>
<body>
<main class="container">
<h1>Hello, Moey</h1>
<button class="btn btn-default"><i class="mi mi-plus"></i>New order</button>
</main>
</body>
</html>
A first screen
A few classes go a long way: a card, form fields and buttons, all themed and ready for light and dark mode.
<div class="card mx-auto max-w-md">
<div class="card-header">
<div class="card-title">Sign in to Moey Admin</div>
</div>
<div class="card-body grid grid-cols-1 gap-4">
<div class="field">
<label class="form-label" for="ov-mail">Email</label>
<input class="form-control" id="ov-mail" type="email" placeholder="jane@moey.test">
</div>
<div class="field">
<label class="form-label" for="ov-pass">Password</label>
<input class="form-control" id="ov-pass" type="password">
</div>
<label class="form-check"><input type="checkbox" checked> Keep me signed in</label>
<button class="btn btn-default">Sign in</button>
</div>
</div>
How Moey is organized
<!-- Layers, in order: tokens · reboot · layout · content · forms · components · helpers · utilities -->
Browser support
Moey targets current evergreen browsers — Chrome, Edge, Safari and Firefox, desktop and mobile. It leans on modern platform features instead of JavaScript: cascade layers, light-dark(), OKLCH colors, :has(), the Popover API and <dialog>.
/* Everything Moey sets lives in a layer — your unlayered CSS always wins */
.btn-solid { font-weight: 700; }