Welcome to the Goodnotes Design System! This repository is the single source of truth for our shared UI components, built with React and Storybook. Our goal is to enable designers and developers to collaborate and build a consistent, scalable design system for all Goodnotes products.
git clone https://github.com/mubarakmarafa/Goodnotes-design-system.git
cd Goodnotes-design-systemnpm installnpm run storybookThis will start Storybook at http://localhost:6006, where you can view and interact with all components.
We encourage designers to contribute directly to the design system using Cursor, just like in this project! Cursor makes it easy to:
- Edit code and documentation with AI assistance
- Preview Storybook locally
- Push changes to GitHub
To contribute as a designer:
-
Open the project in Cursor
- Use the "Open in Cursor" button or open the folder from your local machine.
-
Create a new branch for your work
- Use Cursor's built-in git tools or run:
git checkout -b feature/your-feature-name
- Use Cursor's built-in git tools or run:
-
Make your changes
- Update or add components in
src/components. - Update or add stories for your components.
- Use Cursor's AI to help with code, documentation, or troubleshooting.
- Update or add components in
-
Preview your changes in Storybook
- Run:
npm run storybook
- View your changes at http://localhost:6006.
- Run:
-
Commit and push your changes
- Use Cursor's git UI or run:
git add . git commit -m "Describe your change here" git push origin feature/your-feature-name
- Use Cursor's git UI or run:
-
Open a Pull Request
- Go to the GitHub repo.
- Click Compare & pull request for your branch.
- Add a clear description and request a review.
Tip: If you get stuck, use Cursor's AI chat to ask for help or troubleshooting!
We use a branch-based workflow. Please follow these steps for every new feature or fix:
- Create a New Branch
- Make Your Changes
- Commit and Push
- Open a Pull Request (PR)
- Review & Merge
(See above for detailed steps.)
- One feature/fix per branch/PR.
- Write clear commit messages and PR descriptions.
- Document new components and usage in Storybook.
- Keep the
mainbranch clean and stable.
Goodnotes-design-system/
├── src/
│ └── components/ # All design system components and stories
├── .storybook/ # Storybook configuration
├── README.md # This file
└── ...
A step-by-step video walkthrough of contributing to this project (using Cursor and GitHub) will be added here soon!
If you have any questions, ask in the team chat or open an issue in this repo.
Happy contributing! 🎉
Test commit to trigger GitHub Actions deployment.