Best of SVG2025

  1. 1
    Article
    Avatar of hnHacker News·1y

    JavaScript Animation Engine

    Anime.js is a versatile JavaScript animation library offering several features, including rotating objects, creating motion paths, and animating SVG paths. Users can create timelines, apply staggered animations, and make elements draggable with customizable easing options. The library also supports advanced configurations like spring physics and media query-based animations.

  2. 2
    Article
    Avatar of webdevWebDev·39w

    Static is boring — animate your icons 🎯

    AnimateIcons is a React library that transforms static SVG icons into smooth animations. It offers 45+ animated icons, works with React and Next.js, supports hover and programmatic control, and integrates with ShadCN CLI. The library aims to enhance user interfaces by adding purposeful motion to icons.

  3. 3
    Article
    Avatar of 7cw1wap1zliwhbdaic8zsKristjan Retter·33w

    Free online svg converter

    A free online tool for converting SVG files with support for color manipulation. The converter provides a simple interface for working with scalable vector graphics.

  4. 4
    Video
    Avatar of developedbyeddevelopedbyed·1y

    The Power of SVG Animations

    Learn how to enhance your SVG animation skills by creating a dynamic sun-to-moon toggle with glowing effects using a single SVG. The guide covers integrating this effect from scratch using React and Figma, optimizing SVG path attributes, and adding staggered animations with motion.react. The tutorial provides step-by-step instructions and code snippets to make the task approachable and fun.

  5. 5
    Article
    Avatar of devtoolsDev Tools·39w

    Static is boring — animate your icons 🎯

    AnimateIcons is a React library that transforms static SVG icons into smooth animations. It offers 45+ animated icons, works with React and Next.js, supports hover and programmatic control, and integrates with ShadCN CLI. The library aims to enhance user interfaces by adding purposeful motion to icons.

  6. 6
    Article
    Avatar of hnHacker News·46w

    SVGs that feel like GIFs

    SVG animations can replace GIFs for terminal recordings, offering smaller file sizes and higher resolution. Using asciinema to record terminal sessions and svg-term-cli to convert them creates animated SVGs that work in GitHub README files. SVG animations leverage built-in elements like <animate>, <animateTransform>, and <animateMotion> from the SVG specification.

  7. 7
    Article
    Avatar of frontendmastersFrontend Masters·43w

    Liquid Glass on the Web – Frontend Masters Blog

    Apple's new Liquid Glass design aesthetic for version 26 operating systems creates complex visual effects with light refraction, distortion, and frosted glass appearances. Web developers are recreating this look using CSS backdrop-filter, SVG filters like feDisplacementMap and feGaussianBlur, and React components. The technique involves multiple parameters including displacement scale, blur amount, saturation, and aberration intensity. However, implementing liquid glass effects raises significant text contrast accessibility concerns that developers must carefully address when placing text over unknown backgrounds.

  8. 8
    Article
    Avatar of joshwcomeauJosh W Comeau·44w

    A Friendly Introduction to SVG • Josh W. Comeau

    SVG (Scalable Vector Graphics) is a powerful web technology that allows developers to create scalable, interactive graphics using XML syntax. Unlike traditional image formats, inline SVGs can be styled with CSS and manipulated with JavaScript as first-class DOM citizens. The tutorial covers basic SVG shapes (circles, rectangles, polygons), the viewBox attribute for scalability, and advanced stroke animations including dash patterns and drawing effects. Key concepts include using presentational attributes, creating smooth transitions, and leveraging stroke-dasharray and stroke-dashoffset for dynamic visual effects.

  9. 9
    Article
    Avatar of arstechnicaArs Technica·41w

    Adult sites are stashing exploit code inside racy .svg files

    Adult websites are exploiting SVG image files to embed malicious JavaScript code that automatically generates Facebook likes when users click on the images. Unlike traditional image formats, SVG files can contain executable code, making them vulnerable to attacks like cross-site scripting and clickjacking. The malicious code is heavily obfuscated using techniques like JSFuck to avoid detection, allowing these sites to artificially boost their social media engagement through unwitting user interactions.

  10. 10
    Article
    Avatar of communityCommunity Picks·50w

    iro.js

    iro.js is a JavaScript color picker widget that provides an SVG-based interface for selecting colors. It supports multiple color formats (hex, RGB, HSV, HSL, and kelvin temperatures) through a unified API, allows multiple colors for harmony selection, and requires no external dependencies. The library can be installed via NPM, CDN, or direct download, and offers customizable options, event handling, and easy integration with modern frameworks.

  11. 11
    Article
    Avatar of communityCommunity Picks·1y

    Free and open-source SVG illustrations

    Flowbite Illustrations offers 54 free and open-source SVG illustrations compatible with Flowbite and Tailwind CSS. Customize colors easily and access support for SVG, PNG formats, and a Figma file. The illustrations can be used in personal and commercial projects with proper credits, and they are suitable for various front-end frameworks.

  12. 12
    Article
    Avatar of communityCommunity Picks·47w

    Liquid Glass, but in CSS

    A detailed technical breakdown of recreating Apple's new Liquid Glass design language using CSS and SVG filters. The implementation involves multiple layers including specular highlights with box-shadow, backdrop blur and color filters, SVG displacement maps for refraction effects, and chromatic aberration simulation. The technique requires advanced CSS filter knowledge and has significant browser compatibility limitations, working primarily in Chrome with performance considerations for GPU usage.

  13. 13
    Article
    Avatar of css_tricksCSS-Tricks·1y

    Revisiting Image Maps

    The post explores the use of image maps, an older web design tool, and discusses their advantages, challenges, and alternatives. It highlights a project for Mike Worth that required blending expressive '90s design with modern techniques. While discovering image maps weren't the right fit, the effort led to finding modern solutions by leveraging SVG and anchoring paths for clickable areas, emphasizing accessibility and responsiveness.

  14. 14
    Article
    Avatar of stuffandnonsenseBlogging and all that Malarkey·21w

    A new gold mine graphic animation

    A designer shares their process of creating an animated gold mine graphic for a contact page, replacing an earlier version they disliked. The workflow involved pencil sketching, creating vectors in Sketch, then implementing CSS animations for swaying buckets and swinging lamps, plus vanilla JavaScript for dust particles and gold shimmers. The graphic features pioneer characters positioned at a mine entrance with atmospheric effects.

  15. 15
    Article
    Avatar of codropsCodrops·1y

    From SplitText to MorphSVG: 5 Creative Demos Using Free GSAP Plugins

    The post explores the creative potential of GSAP's newly free premium plugins through five animation demos. It provides step-by-step guides for using plugins like SplitText, MorphSVG, Inertia, DrawSVG, and Physics2D to create interactive and animated web effects, such as text smashing and glowing dot grids. These examples highlight how GSAP can enhance web design and add playful elements to user interfaces. Resources are available for further exploration on CodePen and Webflow.

  16. 16
    Article
    Avatar of webtoolsweeklyWeb Tools Weekly·1y

    JS Utilities, SVG, Audio, React Tools

    Explore a collection of JavaScript utilities, media tools, and React tools designed to enhance productivity and functionality in web development. Highlights include a syntax highlighter for text streams, an SVG illustration collection, an online QR code generator, Node.js bindings for the Web Audio API, and various React components for managing JSON data, handling state, and improving user interaction.

  17. 17
    Article
    Avatar of astro_sourceAstro·26w

    Astro 5.16

    Astro 5.16 introduces experimental SVG optimization using SVGO to reduce file sizes during builds, adds interactive keyboard shortcuts to the preview server (similar to the dev server), and improves AI agent compatibility with a --yes flag for automated integration setup. The release also includes an ActionInputSchema utility type for better type safety in actions and reduces the Netlify adapter's dependency footprint by 82 MB through updated dependencies.

  18. 18
    Article
    Avatar of hnHacker News·1y

    Some Nice Things with SVG

    Exploring the visual effects applications of SVG, including creating animated wires and a dynamic table of contents (TOC) in React.js, showcasing how to use the mask property and CSS animations for interactive elements.

  19. 19
    Article
    Avatar of joshwcomeauJosh W Comeau·1y

    A Million Little Secrets • Josh W. Comeau

    Josh W. Comeau shares insights into the intricate details and development process behind the landing page for his upcoming interactive online course 'Whimsical Animations'. The post covers animation techniques using web technologies like CSS, JavaScript, and SVGs, and discusses the use of sprites for performance optimization, the application of polar coordinates for particle effects, and adding sound effects for an enhanced user experience.

  20. 20
    Article
    Avatar of cygullemCyberVerse·38w

    Static is boring — animate your icons 🎯

    AnimateIcons is a React library that transforms static SVG icons into smooth animations. It offers 130+ animated icons, works with React and Next.js, supports hover and programmatic control, and integrates with ShadCN CLI. The library is lightweight, customizable, and built with motion/react for creating more engaging user interfaces.

  21. 21
    Article
    Avatar of bradfrostBrad Frost·39w

    Logoipsum

    Logoipsum offers free SVG placeholder logos for use in design mockups and prototypes, providing designers and developers with ready-to-use logo placeholders for their projects.

  22. 22
    Article
    Avatar of communityCommunity Picks·49w

    Obra Icons

    Obra Icons is a comprehensive icon library featuring over 1,000 simple and consistent icons designed specifically for user interfaces. The collection includes a wide variety of categories from basic UI elements (arrows, buttons, navigation) to specialized icons for business, technology, entertainment, and everyday objects. Each icon follows a consistent design language making them suitable for cohesive interface design across web and mobile applications.

  23. 23
    Article
    Avatar of hnHacker News·52w

    SVG animation software

    Expressive Animator is a professional SVG animation editor designed for creating stunning animations easily. It offers features like keyframe-based animations, motion paths, and easing editors, and allows import from Figma, PDF, and Adobe Illustrator. Users can export their animations in multiple formats including SVG, Lottie, GIF, and video. The software supports Windows and macOS with a single payment for a lifetime license.

  24. 24
    Article
    Avatar of joshwcomeauJosh W Comeau·40w

    An Interactive Guide to SVG Paths • Josh W. Comeau

    SVG path elements enable creation of complex curved shapes through a series of drawing commands. The guide covers essential commands including Move (M), Line (L), quadratic (Q) and cubic (C) Bézier curves, and elliptical arcs (A). Special focus is given to understanding arc parameters like radius, rotation, and sweep flags. Additional features include path closing (Z), relative positioning with lowercase commands, and smooth curve chaining with T and S commands.

  25. 25
    Article
    Avatar of selfhstselfh.st·1y

    Custom Colors Are Now Available For selfh.st/icons

    Selfh.st/icons now allows users to apply custom colors to icons using a self-hosted proxy server. This new feature enables color customization by overriding CSS styles in SVG files embedded on webpages, overcoming limitations of previous integrations with &lt;img&gt; tags. Users can deploy a Docker container to host their own proxy server, which adds color parameters to icons based on URL specifications.