Minimalist component toolkit for Preact interfaces.
Screens are composed in JSX from general-purpose widgets and layouts, with no commitment to a data model. The @metreeca/skin design system is optional: components work without it and follow the platform colour scheme with it.
npm install @metreeca/skin # design system package, optional
npm install @metreeca/clay # Preact contexts and hooksWarning
TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json.
The legacy "node" resolver is not supported.
| Package | Description |
|---|---|
| @metreeca/clay | Contexts and hooks |
Note
Each package documents its own API in its README and API reference; for complete coverage, see the API reference.
- open an issue to report a problem or to suggest a new feature
- start a discussion to ask a how-to question or to share an idea
This project is licensed under the Apache 2.0 License – see LICENSE file for details.