Warning
This project is currently under development.
Chlorophyll is a modern and user-friendly UI component library built with React and TypeScript.
- 🎨 Language: TypeScript
- ⚛️ Framework: React
- 🎯 CSS Library: PandaCSS
- 🎭 Headless Library: Ark UI
pnpm run devpnpm dlx playwright install --with-depspnpm run test:runnerpnpm run test:vrt- Install PandaCSS
- Install React Aria
pnpm add
3. Install the Panda Preset
```bash
pnpm add @ark-ui/reactimport { defineConfig } from '@pandacss/dev'
import { createPreset } from '@moripa/chlorophyll-preset'
import mori from '@moripa/chlorophyll-preset/colors/accent/mori'
import stone from '@moripa/chlorophyll-preset/colors/base/stone'
export default defineConfig({
preflight: true,
presets: [createPreset({ accentColor: mori, grayColor: stone, radius: 'sm' })],
include: ['./src/**/*.{js,jsx,ts,tsx}'],
jsxFramework: 'react',
outdir: 'styled-system',
})- Path alias tsconfig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@styled-system/*": ["./styled-system/*"]
}
}
}import { Button } from '@moripa/chlorophyll';
function App() {
return (
<Button>Click me!</Button>
);
}Contributions are welcome! Follow these steps to participate:
- Fork this repository
- Create a new branch
- Commit your changes
- Create a pull request
Made with 💚 by Morino party team