Skip to contentEnma

Install Enma

Enma is public on npm under the MIT license. Nothing to set up first: no token, no registry settings.

sh
pnpm add enma@npm:enma-design

That writes "enma": "npm:enma-design@^0.1.1" to package.json. The name enma was taken on npm, so the package is called enma-design and the alias brings the short name back for imports:

ts
import 'enma/css'; // tokens, theme maps, every component style
import 'enma/fonts/ember'; // only your theme's fonts
import { EnmaRoot, Button } from 'enma/react';
import { EnmaProvider } from 'enma/native';
import { themes } from 'enma/tokens';

npm and Yarn work the same way: npm install enma@npm:enma-design.

Or start from a starter

Each starter already has the theme on the root, fonts loaded, one sample screen, and lint and typecheck passing:

sh
pnpm dlx tiged --mode=git manishMandal02/enma-design/starters/next my-app

Swap next for react-vite, expo, chrome-extension or html. --mode=git clones over SSH with your own GitHub access, which a private repository needs. tiged is the maintained fork of degit; it supports a subdirectory in git mode, which classic degit does not.

Only one part of Enma

Install a focused package instead of the umbrella when a project needs only that part:

You needInstall
Values only (a Tailwind setup, a script, Figma)pnpm add @enma/tokens@npm:@enma-design/tokens
CSS only (plain HTML, Vue, Svelte, extensions)pnpm add @enma/css@npm:@enma-design/css
React componentspnpm add @enma/react@npm:@enma-design/react
React Nativepnpm add @enma/native@npm:@enma-design/native

On npm they are @enma-design/* (the @enma scope is taken); the alias keeps imports as @enma/css, the name every guide uses.

All Enma packages share one version, so mixing them is always safe. How Enma is packaged explains when to pick which.

Next

↑ ↓ to move, Enter to open, Esc to close

Keyboard shortcuts

Open the command palette
Ctrl then K
Search
/
Show keyboard shortcuts
?
Close the top overlay
Esc
Go to Home
G then H
Go to Themes
G then T
Go to Playground
G then P
Go to Components
G then C
Go to Guides
G then G
Go to Samples
G then S