0.0.4 • Published 1 year ago
@nanonansen2/nook-design-system v0.0.4
Nook Design System
A comprehensive, themeable design system for React applications built with Radix UI primitives and Framer Motion animations.
Features
- 🎨 Themeable components with SCSS modules and CSS variables
- ♿️ Accessible components built on Radix UI primitives
- 🎭 Smooth animations powered by Framer Motion
- 📦 Tree-shakeable ESM package
- 🔒 Type-safe with full TypeScript support
- 📱 Responsive and mobile-first design
Installation
npm install @nanonansen2/nook-design-systemUsage
import { Button, Input } from '@nanonansen2/nook-design-system'
function App() {
return (
<div>
<Button>Click me</Button>
<Input placeholder="Enter text..." />
</div>
)
}Available Components
- Button
- Input
- More components coming soon...
Development
Setup
- Clone the repository
- Install dependencies:
npm installDevelopment Commands
npm run dev- Start development servernpm run build- Build the librarynpm run storybook- Start Storybook development servernpm run lint- Run ESLintnpm run build-storybook- Build Storybook for production
Project Structure
lib/
├── components/ # React components
├── tokens/ # Design tokens
├── utils/ # Utility functions
└── main.ts # Main entry pointContributing
- Create a new branch from
main - Make your changes
- Submit a pull request
Please follow our commit message convention:
fix:for bug fixesfeat:for new featuresdocs:for documentation changesstyle:for formatting changesrefactor:for code refactoringtest:for adding testschore:for maintenance tasks
License
MIT © Nook Design System