Thanks for your interest in contributing to headcn/ui. We're happy to have you here.
We welcome contributions! Whether it's fixing bugs, improving documentation, or adding new components, you're helping make this project better for everyone.
This repository is a monorepo.
- We use pnpm and
workspacesfor development. - We use Turborepo as our build system.
- We use changesets for managing releases.
-
Fork the repository and clone your fork:
git clone https://github.com/YOUR_USERNAME/ui.git cd ui -
Install dependencies using
pnpm:pnpm install
You can use the pnpm --filter=[WORKSPACE] command to start the development process for a workspace.
- To run the
ui.headcn.sitewebsite:
pnpm --filter=www dev
# or
pnpm www:devThis repository is structured as follows:
apps
└── www
├── app
├── components
├── content
└── registry
├── examples
└── ui
packages
└── headcn
| Path | Description |
|---|---|
apps/www/app |
The Next.js application for the website. |
packages/headcn |
The headcn cli package. |
git checkout -b feat/something-newgit add .
git commit -m "feat(button): add outline variant"
git push origin feat/button-variantGo to your fork and submit a pull request to the main branch.
Your PR will be reviewed, and once approved, the changeset will be included in the next release.
- Follow the existing coding style
- Keep PRs focused and minimal
- Use semantic commit messages (e.g.,
feat:,fix:,docs:) - If you're unsure, open an issue or draft PR for feedback early!
Feel free to open a GitHub issue or start a discussion.
Thanks for being awesome! 🚀