Development
Guidelines for working on Parametrig Kit
Clone repository, install dependencies, and run docs site.
gh repo clone parametrig/kityarnyarn dev
Scaffold a new component:
yarn gen:component
Export from src/index.ts to make available:
export { ComponentName } from './components'
Add a .svg file to icons and run:
yarn gen:icons
All files in the icons directory are automatically converted to React components and exported for use. Generated icons should follow a 24x24 bounding box.
Create a new release on GitHub with a tag that follows semantic versioning. Publishing a release triggers a workflow for building, testing, and pushing to npm.
This repository is maintained by Parametrig. Treat changes to foundations and canonical components as design-system changes: update docs, tests, and component examples together.