Skip to content

Contributing

How to add or change a part.

How to add or change a component so it stays consistent, accessible and explained.

Add a component

  1. Create the component file. Export the component and its prop types. Use tokens only.
  2. Export it from the matching index file.
  3. Document it in src/docs/entries/ with examples, props, usage, accessibility and tokens.
  4. Run the checks below. Then look at it in light mode, dark mode and a 400px wide screen.

Doc entry template

Checks

Pull request checklist

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started