Methane@methane-ui/*
CSS LayoutsComponentsSkillsTheme BuilderGitHub

Quickstart

Load @methane-ui/tokens and @methane-ui/css once at your application root, then import only the @methane-ui/ui/* entrypoints and typed framework wrappers you need.

1. Install Packages

pnpm add @methane-ui/tokens @methane-ui/css @methane-ui/ui

2. Render Layouts & Components

<link rel="stylesheet" href="@methane-ui/tokens/tokens.css" />
<link rel="stylesheet" href="@methane-ui/css/index.css" />
<script type="module" src="@methane-ui/ui/button"></script>

<mth-stack data-gap="4">
  <mth-button variant="solid">Save changes</mth-button>
</mth-stack>
Tip: For React 18 apps lacking React 19 native custom-element support, import wrappers from @methane-ui/react/legacy instead of @methane-ui/react.
Next: Server Rendering →Explore CSS LayoutsAgent Skills