What problem does it solve?
TinyWasm component creation standards for tinywasm/components define a consistent, shareable blueprint for UI component development, embedding rules, CSS tokens, SSR behavior, and PLAN.md workflow to streamline reviews.
Core Features & Use Cases
- Standardized component structure under tinywasm/components with per-component folders (go files, CSS, tests, and SSR code) to promote uniformity.
- Clear embedding and rendering guidance, including how to embed dom.Element by value for performance and safety.
- CSS conventions and tokens that enforce theme consistency and avoid hard-coded colors, enabling CSS-driven customization.
- SSR separation patterns and icon registration guidelines to support pre-rendering and runtime rendering across environments.
- PLAN.md workflow requirements to ensure documentation and review steps are followed before dispatching changes.
Quick Start
Create a new component under tinywasm/components, follow the file structure, and consult PLAN.md for review steps.