Best of SVG — 2023

  1. 1
    Article
    Avatar of hnHacker News·2y

    SVG Tutorial

    Learn to code SVG images step by step. Topics include drawing basic shapes, using clip-path, and creating background patterns with SVG and CSS.

  2. 2
    Article
    Avatar of changelogChangelog·3y

    Adding custom HTML and CSS to GitHub README

    Learn how to add custom HTML and CSS to your GitHub README using SVG.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Create a Meteor Effect with React and TailwindCSS

    A Meteor is basically a UI element with a head and a tail that has a gradient. In the image, the background lines are what I call meteors. We are going to animate these lines to go from the left side of the card container to the right side, giving an illusion of a meteor shower.

  4. 4
    Article
    Avatar of jakearchibaldJake Archibald·3y

    The case against self-closing tags in HTML

    JakeArchibald.com: The case against self-closing tags in HTML.

  5. 5
    Article
    Avatar of communityCommunity Picks·3y

    Best Animation Libraries For React🎉

    React-spring is a spring-physics-based animation library that should cover most of your UI-related animation needs. Framer Motion is a production-ready motion library for React. Green Sock has over 5,500 GitHub stars and 54k weekly NPM downloads.

  6. 6
    Article
    Avatar of antfuAnthony Fu·3y

    Animated SVG Logo

    The first time I saw such stroke animations in SVG is the Material Line Icons by Vjacheslav Trushkin. The animation is done by moving the dash on strokes, while my Logo is a vector outline with multiple control points. The only downside is that the stroke is evenly thick everywhere, making it looks less like a signature.

  7. 7
    Article
    Avatar of communityCommunity Picks·3y

    Coding Randomized Zelda Patterns

    The pattern is even used on the official game website. I really enjoy creating procedurally generated artwork using JavaScript and SVGs. We’ll use JavaScript to reduce repetition in our code and allow us to randomize the placement of these shapes. We can reproduce these shapes using the SVG “ vector graphic” format.

  8. 8
    Article
    Avatar of phProduct Hunt·3y

    Flowbite Icons - 430+ free and open-source SVG icons

    Flowbite Icons - 430+ free and open-source SVG icons with outline and solid styles built for Tailwind CSS with support for React (JSX) and Figma. This is the latest launch from Flowbite See Flowbite’s 5 previous launches.

  9. 9
    Article
    Avatar of css-irlCSS {IRL}·3y

    CSS { In Real Life }

    Parcel is my go-to bundler. Utopia provides configurable set of CSS custom properties for fluid sizing and typography, with options to use a modular scale. Tiny PNG Build tools can be configured to compress images, but we can reduce energy use even more by not uploading large images in the first place.

  10. 10
    Article
    Avatar of communityCommunity Picks·3y

    The new @font-face syntax

    The new @font-face syntax has also been supported since Safari 17, Firefox 106 and Chrome 108. The new syntax looks like this: What’s changed? Instead of using strings, we use keywords. There are certain technical capabilities of fonts that the file type alone doesn't tell us.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    Making SVG Loading Spinners: An Interactive Guide

    This article provides an interactive guide on making SVG loading spinners. It explains how to draw a circle, use stroke-dasharray to make the circle incomplete, and rotate the circle using CSS.

  12. 12
    Article
    Avatar of codropsCodrops·3y

    On-Scroll SVG Filter Effect

    The demo is to animate a mask shape that has a turbulence filter applied to it. Magically, this results in an apparent animation of the whole distortion around the image. We also use the Flip plugin to animate the split title to another place in the content while doing this.

  13. 13
    Article
    Avatar of semaphoreSemaphore·3y

    Creating SVG Animations Using Tailwind CSS

    SVGs are a vector-based graphics file format that allows graphics to be displayed at any size without losing quality. For the use of illustrations, icons, and logos on websites and applications, SVGs have proven to be an invaluable resource. For this tutorial, we will use a heart SvG icon from Hero icons.

  14. 14
    Article
    Avatar of communityCommunity Picks·3y

    Breaking Up with SVG-in-JS in 2023

    The most expensive form of sprite sheet: costs a minimum of 3x more than other techniques. This bundle from a popular site is almost 50% SVG icons (250kb), and most are unused. SVGs in JS have a cost and SVGs do not belong into your JS bundle.

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Make a Clickable SVG Map With HTML and CSS

    Learn how to make a clickable SVG map with HTML and CSS. Discover the benefits of SVG maps, add interactivity with CSS, and link areas of the map to external webpages.

  16. 16
    Article
    Avatar of communityCommunity Picks·3y

    Frontend & creative coding

    An event that tracks those pesky gray bars 19. Jun 2023 Simple colorful logging in Node.js is an easy way to add some color to your node scripts. Mar 2023 Draw SVG rope using JavaScript 23.

  17. 17
    Article
    Avatar of kirupaKirupa·3y

    Changing Colors in an SVG Element Using CSS and JavaScript

    Learn how to change colors in an SVG element using CSS and JavaScript. Understand the different approaches and techniques for modifying the appearance of SVG elements. Discover the flexibility and advantages of using CSS and JavaScript to customize SVG images.

  18. 18
    Article
    Avatar of communityCommunity Picks·3y

    iconbundler

    Use the Figma plugin to export icons directly from your design Export React, Vue and Svelte components directly from Figma. Click here to see how SVGs are getting optimized and converted and get optimized.

  19. 19
    Article
    Avatar of codropsCodrops·3y

    Gooey Cursor Effect

    The other day I visited Lorenzo Dal Dasso’s fantastic website and had a lot of fun with the cool cursor effect. The idea is simple: create lots of boxes and when we hover with the cursor, show them. Also apply a nice SVG gooey filter to them. Changing the filter and blend mode creates lovely variations.

  20. 20
    Article
    Avatar of devtoDEV·3y

    How to create a slick animation from Stranger Things

    The title sequence is a 52 second sequence, so I will not recreate it entirely. It is a closeup of the scattered letters of the title slowly drawn together. The font used for the title is ITC Benguiat. The font was used on the cover of countless Stephen King novels.

  21. 21
    Article
    Avatar of communityCommunity Picks·3y

    Use svg sprite icons in React

    The best way to use icons is ansvg spritesheet. This is one of the oldest tactics to optimize image loading. Instead of loading many small images, we load a single image and use code to display only the part we need. We will also build a React component that displays a specific icon by name with full type safe autocomplete.

  22. 22
    Article
    Avatar of codropsCodrops·2y

    Frontend Rewind 2023 – Day 11

    The article discusses the history of Saturnalia, introduces Framer Training as a course for designing and building modern websites, and shares a tutorial on creating a rubber button with HTML, CSS, and SVG.

  23. 23
    Article
    Avatar of telerikTelerik·3y

    How to Use SVG in React

    Learn how to use SVG in a React application with different methods including inline usage, using SVG with the img tag, SVG as a reusable React component, and SVG sprites.

  24. 24
    Article
    Avatar of webtoolsweeklyWeb Tools Weekly·3y

    CSS Tools, Testing, SVG/Media

    A Fine Start taps into this raw, unassuming power by transforming your new tab page into a minimal list of links. You can also view a gallery of existing mood-based options for Tailwind projects. A small set of CSS generators include text and box shadows, CSS glow, CSS text glow, and unique underlines.