whatisgithub

What is ng-fx?

patrickjs/ng-fx — explained in plain English

Analysis updated 2026-07-26 · repo last pushed 2015-11-09

2JavaScriptAudience · developerComplexity · 2/5DormantSetup · moderate

In one sentence

An animation library for AngularJS apps that adds smooth motion like fading, sliding, and bouncing to interface elements using simple class names instead of hand-written animation code.

Mindmap

mindmap
  root((ng-Fx))
    What it does
      Adds smooth animations
      Uses class names
      Fades slides bounces
    How it works
      JavaScript-based animation
      Works with AngularJS directives
      Customizable easing and speed
    Use cases
      Animate list items
      Dashboard panel transitions
      Form validation messages
    Tech stack
      AngularJS
      ngAnimate module
      GSAP
    Audience
      AngularJS developers
      Dashboard builders
      Form-heavy app makers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add fade and slide animations to list items that users add or remove so they glide in and out smoothly.

USE CASE 2

Animate dashboard panels appearing and disappearing when users show or hide them.

USE CASE 3

Make form validation messages slide in when errors occur instead of appearing instantly.

What is it built with?

JavaScriptAngularJSngAnimateGSAP

How does it compare?

patrickjs/ng-fx3imed-jaberi/cryptography-si-isamm3imed-jaberi/koa-isomorphic-router
Stars222
LanguageJavaScriptJavaScriptJavaScript
Last pushed2015-11-092021-09-252021-02-06
MaintenanceDormantDormantDormant
Setup difficultymoderateeasyeasy
Complexity2/51/52/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires AngularJS 1.2+, the ngAnimate module, and the GSAP JavaScript animation library as dependencies.

No license information is provided in the explanation, so the terms of use are unknown.

So what is it?

ng-Fx is an animation library for AngularJS apps that lets you add smooth, polished motion to your interface elements without writing complex code. Instead of dealing with keyframes or animation logic yourself, you just add a CSS-like class name to an element and it gets animated automatically, fading, sliding, bouncing, or other effects when it appears, disappears, or moves on screen. What makes it different from typical CSS animation libraries is that all the actual animation work happens in JavaScript rather than through CSS rules. This means animations can be dynamic and adjust on the fly, rather than being locked into predefined behavior. It piggybacks on Angular's built-in animation support, so it works with common directives like ng-show, ng-hide, ng-repeat, ng-if, and others. You can customize easing (the feel of the motion, like a bounce or elastic effect) and speed by adding additional class names, and you can even listen for events when an animation finishes so your app can respond accordingly. This would appeal to developers building AngularJS applications who want their interfaces to feel more alive and professional without spending time hand-crafting animations. For example, if you have a list of items that users can add to or remove from, slapping a fade-down animation on it makes each item gracefully slide in and out instead of just popping into existence. Someone building a dashboard might use it to animate panels appearing, or a form-heavy app could animate validation messages sliding in. The project requires AngularJS (version 1.2 or later), the ngAnimate module, and a JavaScript animation library called GSAP. The README notes planned improvements including more animations, a simpler API for creating custom ones, and more targeted event handling per element rather than per animation type.

Copy-paste prompts

Prompt 1
How do I add a fade-down animation to an ng-repeat list in my AngularJS app using ng-Fx class names?
Prompt 2
Show me how to customize the easing and speed of an ng-Fx animation by adding extra class names to my element.
Prompt 3
How do I listen for when an ng-Fx animation finishes so I can run additional code in my AngularJS controller?
Prompt 4
Set up ng-Fx with ngAnimate and GSAP in my AngularJS 1.2+ app and animate an ng-show element with a bounce effect.

Frequently asked questions

What is ng-fx?

An animation library for AngularJS apps that adds smooth motion like fading, sliding, and bouncing to interface elements using simple class names instead of hand-written animation code.

What language is ng-fx written in?

Mainly JavaScript. The stack also includes JavaScript, AngularJS, ngAnimate.

Is ng-fx actively maintained?

Dormant — no commits in 2+ years (last push 2015-11-09).

What license does ng-fx use?

No license information is provided in the explanation, so the terms of use are unknown.

How hard is ng-fx to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ng-fx for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.