How to contribute
Ways to contribute
Contributing to open source can seem daunting at first, but there are many ways to help! Whether you’re a developer, designer, writer, or just someone who uses our components and themes, your contributions are valuable to making the web more accessible.
-
Code contributions
- Fix bugs in components or themes
- Add new features or components
- Improve documentation
- Write tests
- Enhance accessibility
- Improve performance
- Create new theme variations
-
Documentation
- Fix typos
- Add examples and use cases
- Clarify explanations
- Translate content
- Add theme customization guides
- Improve code comments
- Add component demos
-
Issue reporting
- Report bugs in components
- Report theme compatibility issues
- Suggest new features or components
- Share theme customizations
- Report accessibility issues
- Test in different browsers
- Test theme responsiveness
-
Community support
- Answer questions
- Share knowledge
- Review pull requests
- Help others with theme customization
- Share your theme variations
- Write blog posts or tutorials
- Create video content
Getting started
Ready to contribute? Great! Follow these steps to set up your development environment and make your first contribution. Don’t worry if you’re new to this – we’re here to help you succeed.
-
Fork the repository you want to contribute to:
Components:
Themes:
Documentation:
-
Clone your fork:
Terminal window git clone https://github.com/YOUR-USERNAME/REPO-NAME.git -
Create a new branch:
Terminal window git checkout -b fix/issue-description -
Install dependencies:
Terminal window npm install -
Start the development server:
Terminal window npm run dev
Making changes
Once your environment is set up, you can start making changes. We have some guidelines to ensure consistency and quality across all contributions.
- Follow our development guidelines
- Make your changes
- Add or update tests if needed
- Update documentation if needed
- Follow our style guide
- Run tests:
npm run test
(components only) Yet to be implemented - Check types:
npm run typecheck
Yet to be implemented - For themes: test across different screen sizes and browsers
Submitting changes
Ready to submit your changes? We use Pull Requests to review and merge new contributions. This helps us maintain quality and provides a place for discussion.
-
Commit your changes:
Terminal window git add .git commit -m "fix: description of your changes" -
Push to your fork:
Terminal window git push origin fix/issue-description -
Open a pull request:
- Use a clear title
- Reference any related issues
- Describe your changes
- Add screenshots (especially for theme changes)
- Add before/after comparisons if relevant
- Fill out the PR template
Code review process
After submitting your PR, here’s what happens next. Don’t worry if changes are requested – it’s a normal part of the process and helps us maintain quality.
- Maintainers will review your PR
- Automated tests will run (for components)
- Changes might be requested
- Visual review for theme changes
- Once approved, your PR will be merged
Need help?
We’re a friendly community and always happy to help! If you’re stuck or have questions, here are several ways to get assistance:
- Check our development guide
- Read about reporting issues
- Join our Discord community
- Review our style guide
- Ask in GitHub discussions in any of the repositories