Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including figjs with all npm packages installed. Try it out:

var figjs = require("figjs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

figjs v0.2.0

experimental front-end js framework

Experimental, component-based JavaScript UI framework.


Fig is a simple and experimental user interface framework attempting to bring pug templates into the world of dynamically rendered client-side content. Not yet ready for production or anything serious, just exploring what's possible with today's javascript ecosystem. Please refer to the project's main website for a guide and api reference - :sparkles:




Any updates to the installed version of the framework should be done with care, fig is at the stage where every semver minor update can break your app in unexpected and weird ways. Remember to checkout the changelog before upgrading to newer versions!


Fork & clone the repo:

$ git clone<username>/fig`
$ cd fig/

Get the dependencies, you know the drill. Note that this project installs a TON of packages (695 at the time of writing) if you're having troubles downloading them with npm, consider upgrading to yarn!

$ npm install
# OR
$ yarn

Start the watch scripts:

$ npm run build:watch
$ npm run test:watch

Hack away! :rocket:

Before sending any PRs, remember to run the following lint script, thank you :heart:

$ npm run lint





RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free