Skip to content
v0.1 Beta

Modern UI primitives for agent-assisted developers.

Use our agent skill to quickly build bespoke, accessible UIs on top of our contextual tokens, element styles, and React components.

shell
npx loamui@latest init

One command in your React application: the package, the stylesheet, the checks and the agent skills. From nothing, npx loamui@latest create.

Get started
JR
Jamie RiveraProduct designer
Pro
NotificationsNotifications on

Try the controls. Changes stay on this page.

Real primitives. Try the controls.

The foundation

Three primitives. One package.

Use them together to build your own UI, from a single form to a whole product.

Tokens

Colour, type and spacing that adapt to their surroundings. A few design decisions, with the rest derived from them.

The values your design is built on.

Element styles

Native HTML with considered defaults for typography, forms and links, respecting the user’s preferences.

A foundation before you add a component.

Components

Low-level React parts for behaviour and interaction. Compose them with your own markup to make what your product needs.

The parts, with the arrangement left to you.

Build with the skill

Describe your UI. Build on the primitives.

Start with a framework and LoamUI installed. Add the skill, then describe what you want to build. Your agent checks the setup, composes the primitives and tests the result.

Add the skill

shell
pnpm dlx skills@latest add loamui/loamui --skill loamui --agent claude-code --yes
Then try a prompt

Use the LoamUI skill to build a restaurant menu with starter and dessert cards. Include three dishes in each, with descriptions and prices. Mark the starters as vegetarian and the desserts as sold out. Let me select the available course.

Build with the skill

New project? Install LoamUI. For setup help, follow Build with the skill.

Explore the result

The cards compose tokens, native element styles, Badge and Button. Open the React or CSS tab to see how they fit together.

Pillar 1 · Modern Web

Let the platform do the work.

Google’s Modern Web Guidance and Modern CSS inform how we build all three primitives. Native behaviour comes first, with enhancements where the browser supports them.

Native foundations

Real buttons, inputs and dialogs supply their semantics and platform behaviour.

Progressive enhancement

New capabilities build on usable defaults. Motion is added when the user permits it.

Baseline browser support

Baseline guides feature adoption. Newer capabilities have a usable fallback.

A paradigm shift: design responds to context.

Declare a region’s meaning once. Its tokens adapt, and the native elements and components using them follow. Available space shapes type and spacing in the same way.

Change the region’s meaning or available space. The same elements and components adapt through LoamUI’s tokens and CSS.

Explore contextualism
Live example

One region, shared styles

The same content adapts to its surroundings.

How contextualism works

Wide container · Neutral context

Wide fits the space available on your screen.

Pillar 2 · Accessibility & UX

Considered defaults. Everyday differences.

We draw on the GOV.UK and Polaris design systems for decisions that help people use your interface. Each component’s documentation explains when to use it and why.

Read the accessibility guidance
Forms that help people recover
Labels, hints and errors appear before the control. Optional fields are marked in words.
Controls that mean what they say
Buttons perform actions. Links navigate. A switch acts immediately; a checkbox can wait for submission.
Preferences that carry through
Colour scheme, reduced motion, forced colours and browser text size inform the defaults.
Keyboard use built into the interaction
Named controls, visible focus and appropriate focus management support navigation without a pointer.

Confidence in the result

Check what your agent builds.

The skill guides the work; checks help you review it. Our primitives are tested in CI. Your composition still needs validation with its own content, layout and interactions.

  1. Establish the foundations

    The skill checks the package, stylesheet and project setup before composing your UI.

  2. Run the project’s checks

    Use TypeScript, Stylelint and automated accessibility checks, then exercise the interactions.

  3. Review it in the browser

    Inspect narrow layouts, both themes and keyboard use. Judge the copy and visual result.

Build with the skill

Build with LoamUI

Your product. Your compositions.

Contextual tokens, native element styles and composable React parts, with an agent skill to bring them together. Modern web foundations and considered UX, ready for your next project.

Get started