What problem does it solve?
This Skill helps you create SVG markup in rikka without namespace mistakes, making it easier to draw icons, diagrams, charts, and interactive graphics that render correctly in the browser.
Core Features & Use Cases
- Automatic SVG Namespace Handling: Rikka-dom creates SVG elements in the right namespace so you can focus on layout instead of XML details.
- Collision-Safe Tag Helpers: Use svg-prefixed helpers for tags that overlap with HTML, such as links, scripts, styles, titles, text, spans, and textPath.
- Signal-Driven Graphics: Bind reactive values directly into SVG attributes and templates for live-updating visuals.
- Use Case: Build a responsive chart with gradients, paths, labels, and embedded HTML content while keeping the markup type-safe and maintainable.
Quick Start
Ask for an SVG example in rikka that draws a shape with a gradient and uses the correct helpers for SVG-only and shared HTML-SVG tags.