otsukimi-ui
v1.2.0
Published
Kawaii React UI component library.
Downloads
1,310
Readme
Otsukimi UI
ユメカワデザインシステム
Otsukimi UI is a React component library.
Links
Documentation
Concept
- ユメカワ
- フワフワ
- モチモチ
- カワイイ!
Installation
npm
npm install otsukimi-uipnpm
pnpm add otsukimi-uiyarn
yarn add otsukimi-uibun
bun add otsukimi-uiQuickstart
import { Button, Input } from "otsukimi-ui";
function App() {
return (
<main>
<Button variant="moon">Get started!</Button>
<Input placeholder="Your name" />
</main>
);
}otsukimi-ui requires React 19 as a peer dependency.
Note: the font tokens (
--otsukimi-font-body-family/--otsukimi-font-heading-family) reference "LINE Seed JP" and "Zen Maru Gothic", but the library does not load these fonts. Consumers should self-host or bundle them, otherwise the system fallback is used.
Customizing tokens
Design tokens are CSS variables defined in :root. To override them, import
otsukimi-ui/tokens.css and set the variables you care about after it:
import "otsukimi-ui/tokens.css";:root {
--otsukimi-color-brand-primary-deep: #3f4a9e;
}