This guide covers how to set up and work on Mintlify Components locally.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mintlify/components/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, ensure you have the following installed:Initial Setup
Development Workflow
Building
Build the component library:Storybook
Run Storybook to develop and preview components:http://localhost:6006 where you can view and interact with all components.
Build Storybook for production:
Linting
We use Biome for linting and formatting. The pre-commit hooks will run linting automatically before each commit. Check code style:Project Structure
Code Style Guidelines
- Use TypeScript for all new code
- Follow existing patterns in the codebase
- Components should be compatible with React 18 and 19
- Use Tailwind CSS for styling
Testing Your Changes
Before submitting a pull request:Next Steps
- Learn about creating new components
- Review the contributing guidelines
- Check out the component documentation