This repository hosts the public documentation and integration examples for Primer's Beta Primer Components.
/docs
- Official documentation for Beta SDK Components/examples
- Integration examples for Beta Primer Components/packages
- Shared utilities and components
# Install dependencies
yarn install
# Start documentation site
yarn dev
- navigate to /examples/ folder and
- choose an example to run
- follow the README instructions
Our documentation is built with Docusaurus and can be found in the /docs
directory. Key sections include:
- Getting Started
- Component API Reference
- Integration Guides
- Customization & Theming
- Migration Guides
The /examples
directory contains working implementations using Beta Primer Components:
- Basic Checkout Flow
- Custom Layout Examples
- Framework-Specific Integrations (React, Vue, Angular)
- Advanced Customization Examples
Each example includes:
- Source code
- README with setup instructions
- Live demo link (where applicable)
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-update
) - Commit your changes (
git commit -m 'Add amazing update'
) - Push to the branch (
git push origin feature/amazing-update
) - Open a Pull Request
- Follow the existing code style
- Update documentation for changes
.
├── docs/ # Documentation site
├── examples/ # Integration examples
│ ├── react/
│ ├── vue/
│ └── ...
└── packages/ # Shared utilities
└── common/
- For documentation issues, use the Documentation Issue Template
- For example code issues, use the Example Issue Template