Tag: svg
24 articles
- Optimisation & Workflow
Ship production-ready SVGs. Learn to optimise file size with SVGO, export cleanly from design tools, and establish an efficient SVG workflow.
- SVG + JavaScript
Bring SVGs to life with JavaScript. Learn to manipulate SVG elements, handle events, create dynamic graphics, and build interactive visualisations.
- Responsive SVG
Make SVGs that scale beautifully across all screen sizes. Master viewBox, preserveAspectRatio, and CSS techniques for fluid, responsive graphics.
- Accessibility
Make your SVGs usable by everyone. Learn to add meaningful titles, descriptions, and ARIA attributes so screen readers can interpret your graphics.
- Symbols & Reuse
Stop repeating yourself. Learn to define reusable SVG components with symbol and use elements, and build efficient icon sprite systems.
- Text & Typography
Add text to your SVGs with full control over positioning, styling, and even flowing text along curved paths. Learn the text, tspan, and textPath elements.
- SVG Filters
Apply visual effects like blur, drop shadows, colour manipulation, and more using SVG's powerful filter primitives. Chain effects together for complex visual treatments.
- Masks & Clip Paths
Control visibility with clip paths for hard edges and masks for soft transparency. Create reveal effects, spotlight animations, and complex composite shapes.
- Gradients & Patterns
Learn to create linear and radial gradients, plus repeating patterns for textures and backgrounds. Master the defs element for reusable SVG definitions.
- Stroke Animations: The Line Drawing Effect
Master the popular line drawing effect using stroke-dasharray and stroke-dashoffset. Create smooth animations that make paths appear to draw themselves.