What problem does it solve?
This Skill helps you create real Web Components with TypeScript-safe attributes, events, methods, and lifecycle behavior without decorators or manual registration boilerplate.
Core Features & Use Cases
- Reactive Attributes: Define typed HTML attributes that stay synchronized with element state and re-render automatically.
- Custom Events: Declare event transforms, dispatch helpers, and handler properties for clean component communication.
- Typed Builder Workflow: Use the phased builder API when you need strict this typing across methods, render logic, and templates.
- Use Case: Build a reusable counter, form control, or dashboard widget that exposes a stable custom tag, supports Shadow DOM styling, and works seamlessly in rikka-dom.
Quick Start
Ask for a rikka custom element with typed attributes, a render function, and a custom event so you can implement the component directly.