GreenSock-JS
GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web (by greensock)
svgr
Transform SVGs into React components 🦁 (by gregberge)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
GreenSock-JS | svgr | |
---|---|---|
97 | 30 | |
18,681 | 10,324 | |
1.4% | - | |
4.7 | 5.6 | |
4 months ago | 2 days ago | |
JavaScript | TypeScript | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GreenSock-JS
Posts with mentions or reviews of GreenSock-JS.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-29.
-
React Refs Ritual: Managing Focus, Selections, and More.
This direct manipulation allows you to leverage robust animation libraries like GSAP or Anime.js, which require direct DOM access to perform optimally.
- Where the hell do I create these nice animations
-
An Afternoon with SVGs | Frontend Challenge Entry
I've been looking for a small project to do that would let me play with Greensock (GSAP), specifically a bit with some SVG files I generated with Corel Vector. When I saw the frontend challenge and had an afternoon at work with downtime between a few projects, I knew it'd be a great opportunity to explore a bit!
-
A Visual Interactive Guide to Bloom Filters
https://pixijs.com/ and https://gsap.com/. All of the source code for my posts can be found at https://github.com/samwho/visualisations :)
-
How to Add Animations to your React App Using GSAP
The GreenSock Animation Platform (GSAP) is a web animation library that provides the logic for adding animation to any site powered by JavaScript. React, being built on top of JavaScript, falls under this category. GSAP is an extremely fun animation tool to use because it offers a great deal of flexibility, you can animate anything using GSAP — texts, images, scroll actions, SVGs, UI interactions, anything!
-
Implement Smooth Scrolling & Parallax Effect in Next.js using Lenis and GSAP
GSAP (GreenSock Animation Platform)
-
Workflow for creating animated assets
If you want animations look into GSAP
-
3D Card with Embedded Links Using Three.js and Blender
gsap
- Anime.js – A lightweight JavaScript animation library
-
Best Animation Libraries For React🎉
Green Sock has over 16,400 GitHub stars and 400k weekly NPM downloads.
svgr
Posts with mentions or reviews of svgr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-27.
-
Nx + NextJS + Docker - The Nx way: Creating the NextJS application
//@ts-check // eslint-disable-next-line @typescript-eslint/no-var-requires const { composePlugins, withNx } = require('@nx/next'); /** * @type {import('@nx/next/plugins/with-nx').WithNxOptions} **/ const nextConfig = { nx: { // Set this to true if you would like to use SVGR // See: https://github.com/gregberge/svgr svgr: false, }, }; const plugins = [ // Add more Next.js plugins to this list if needed. withNx, ]; module.exports = composePlugins(...plugins)(nextConfig);
- Easily use SVGs as JSX/TSX in your ReactJs app
- How do I use SVG icons in React?
-
SVGR for your React app
Most of the time, developers tend to add svg images to an assets directory and import them either directly or as a React component. This process not only increases your app bundle size but also makes managing all the assets difficult. What if there was a way to manage all the application icons like the way we import them from any other icon library? Yes, react-svgr helps you manage all the icons in your React application.
-
What would be the best way to implement SVG's into your project?
If you are using react, there is a tool called SVGR, which will take in an SVG file and return a react component with all the props. This can be really useful if you want to treat SVG more like a markup that will be embedded directly into your HTML. This becomes really helpful when you want to style SVG through props or add transformations and animations. Using SVG directly in markup has so many perks and advantages to the point i don't use them as source in image tags.
-
One way of building an SVG icon library for your project
Really interesting framework agnostic approach, but I think SVGR is a better option for my React homies. It imports an SVG file as a React component. Shouts also to react-icons if Font Awesome, Material Icons and friends are more your bag.
-
Alternative libs to migrate from React to Vue (or Vue to React)
SVGR
-
Power up SVGs with React and CSS
There is another way to import an SVG in Create React App, though. We can import the SVG as a ReactComponent. This is because CRA leverages SVGR to process SVGs.
-
Создаем React-компоненты иконок с помощью Figma API и SVGR. Часть 2.
const { types } = require('@babel/core'); module.exports = { ... template: function svgrCustomTemplate( { imports, interfaces, componentName, props, jsx, exports }, { tpl } ) { // меняем корневой элемент на SvgIcon jsx.openingElement.name.name = 'SvgIcon'; jsx.closingElement.name.name = 'SvgIcon'; // https://github.com/gregberge/svgr/issues/530 // при изменении корневого элемента пропадает спред пропсов // поэтому необходимо добавить спред пропсов самостоятельно jsx.openingElement.attributes.push( types.jSXSpreadAttribute(types.identifier('props')) ); return tpl` ${imports}; import { SvgIcon } from '../SvgIcon'; ${interfaces}; const ${componentName} = (${props}) => ( ${jsx} ); ${exports}; ` } }
-
How can I export an interactive figma component to an interactive react component?
Is this an icon or icon set? Because you can absolutely change SVG icons into react components with SVGR. https://react-svgr.com/
What are some alternatives?
When comparing GreenSock-JS and svgr you can also consider the following projects:
anime.js - JavaScript animation engine
svg-sprite-loader - Webpack loader for creating SVG sprites.
framer/motion - Open source, production-ready animation and gesture library for React
vite-plugin-svgr - Vite plugin to transform SVGs into React components
aos - Animate on scroll library
svgo - ⚙️ Node.js tool for optimizing SVG files
velocity - Accelerated JavaScript animation.
esbuild - An extremely fast bundler for the web
three.js - JavaScript 3D Library.
vite-plugin-svg-icons - Vite Plugin for fast creating SVG sprites.
animate.css - 🍿 A cross-browser library of CSS animations. As easy to use as an easy thing.
raw-loader - A loader for webpack that allows importing files as a String