Thank you for your interest in contributing to Mintlify Components! This document provides guidelines and information for contributors.
- Fork the repository
- Clone your fork locally
- Follow the setup instructions in DEVELOPMENT.md
We use three labels to categorize issues:
- bug - Something isn't working as expected
- improvement - Enhancement to an existing component
- feature request - Request for a new component or capability
- Check the existing issues to avoid duplicates
- Open a bug report using the template
- Include reproduction steps, expected behavior, and actual behavior
- Add screenshots or code snippets if helpful
- Check existing issues first to avoid duplicates
- Open a feature request using the template
- For improvements to existing components, add the
improvementlabel - Describe the use case and why it would be valuable
- Create a new branch from
main - Make your changes following our code style guidelines
- Add or update tests and Storybook stories as needed
- Run
pnpm lint:checkto ensure code quality - Run
pnpm buildto verify the build succeeds - Submit a pull request
When you open a PR, you'll see a template with sections for Summary and Test Plan. Please fill these out.
- Keep PRs focused on a single change
- Write clear commit messages
- Update documentation if needed
- Ensure all CI checks pass
- Use TypeScript for all code
- Follow existing patterns in the codebase
- Use Tailwind CSS for styling
- Run
pnpm lint:fixto auto-format code
When adding or modifying components:
- Ensure compatibility with React 18 and 19
- Support both light and dark themes
- Make components accessible (ARIA attributes, keyboard navigation)
- Add Storybook stories documenting usage
- Export types for TypeScript users
If you have questions, feel free to:
- Open a GitHub Discussion
- Check our documentation
By contributing, you agree that your contributions will be licensed under the MIT License.