Mirrow
SVGs. One file. Zero fuss.
Install / Use
/learn @MirrowApp/MirrowREADME
Mirrow is a playground and production tooling for vector animators working with integrating motion, and interaction seemlessly into their workflow. Instead of treating SVGs as static assets, Mirrow gives them the starring role in your workflow. Describe shapes, styling, animation, and even interaction logic in one expressive format that compiles seamlessly.
Why Mirrow feels different ✨
- SVGs are treated as first-class citizens rather than static assets.
- A familiar, designer-friendly syntax.
- Animation, state, and styling live together.
- Simple variable support.
- Output slots into your applications for a seemless adoption.
svg {
size: (150, 150)
rect {
at: (20, 20)
size: (100px, 100px) // px string now validated
radius: (8, 8)
stroke: #333
strokeWidth: 2
id: "box"
}
@hover {
#box { stroke: #0070f3; strokeWidth: 3 }
}
}
Getting started 🚀
# Compile a Mirrow file to SVG without installing anything locally
npx mirrow -i icon.mirrow -o icon.svg
# Mirror an entire directory of Mirrow sources into a build output
npx mirrow -i src/mirrow -o dist/icons --depth unbound
The CLI reads the Mirrow source at icon.mirrow and writes the compiled SVG to
icon.svg. Point the -o flag at your framework adapter (React, Svelte, etc.)
to generate components instead of raw SVG. When a directory is supplied via
-i, Mirrow preserves the directory structure, compiling every .mirrow file
to .svg and copying any other assets alongside them. Control how deep the
recursion goes with --depth (use unbound to traverse every nested folder).
The project is organized as a monorepo:
@mirrowjs/core– the Mirrow compiler, parser, and language experiments.@mirrow/cli– a lightweight CLI that will grow alongside the language.
If you have a feature request or feedback from using Mirrow, feel free to open an issue and share your thoughts 💡
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
110.6kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
100.5kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
