lisanne-ui
v0.1.0
Published
Scalable, bold editorial React design system.
Maintainers
Readme
lisanne-ui
A React + TypeScript design system starter, built to grow over time.
Quick start
npm install
npm run storybookScripts
npm run dev- local Vite development.npm run build- build the component library intodist.npm run test- run Vitest tests.npm run lint- run ESLint.npm run storybook- run Storybook docs playground.
Project structure
src/
components/
Button/
Button.tsx
Button.stories.tsx
Button.test.tsx
index.ts
tokens/
colors.ts
spacing.ts
index.tsHow to add new components
- Create a folder in
src/components. - Add the component file, story, and test.
- Export it from the component
index.ts. - Re-export from
src/components/index.ts. - Ensure it is available through
src/index.ts.
