Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
@univerjs/design
@univerjs/design contains the shared React design components, tokens, styles, and locale resources used by Univer UI packages.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs/design |
UniverDesign |
Yes | Yes | No |
Installation
pnpm add @univerjs/design
# or
npm install @univerjs/design
Keep all @univerjs/* packages on the same version.
Usage
import '@univerjs/design/lib/index.css';
import DesignEnUS from '@univerjs/design/locale/en-US';