Adjusted SVG text element positioning to precisely match React component foreignObject calculations, eliminating the "down" positioning offset that made server-rendered SVGs appear misaligned compared to client-rendered versions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| basic-usage.svg | ||
| custom-styling.svg | ||
| interactive.svg | ||
| tutorial-mode.svg | ||
README.md
AbacusReact Examples
Generated SVG examples demonstrating various features of the AbacusReact component.
Files
- basic-usage.svg - Simple abacus showing a number
- interactive.svg - Clickable abacus with animations
- custom-styling.svg - Personalized colors and highlights
- tutorial-mode.svg - Educational guidance with tooltips
Usage in Documentation
These SVG files can be embedded directly in markdown:

Or referenced in HTML:
<img src="./examples/basic-usage.svg" alt="Basic AbacusReact Usage" />
Generated automatically by generate-examples.js using react-dom/server Last updated: 2025-09-19T20:47:46.001Z