Contributing
fma-ds is a personal registry, developed in the open. Issues are welcome, and new components start from a real need in an app.
Proposing a change
- Open an issue describing the need: what the app has to do, not how it should look.
- Check that no existing item covers it. Prefer a variant or a prop over a new component.
- Wait for agreement before opening a pull request, unless it's a small fix.
Scope of the blocks
Blocks come from what real apps needed, mostly SaaS screens such as sign-in, pricing, billing and settings. They are not a general application kit, so a block enters when an app needs it, not to complete the catalog. Components stay general.
What a new item needs
- A folder in
packages/ds/src/core/<name>/with the component,meta.jsonand a story. - React Aria for interaction, and the existing tokens: hover, focus and selection use
accent. - English default text, overridable through props.
- Stories that show real usage, because they are the examples on this site, with
playfunctions for interaction tests. - Accessible names, keyboard support and no automated accessibility violations.
The generated registry files are committed with the change. Before opening a pull request, run:
Going deeper
CONTRIBUTING.md covers the environment, the anatomy of a component, themes and the Git workflow.