npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rifrocket/fabricjs-design-tool

v1.0.3

Published

A comprehensive design tool built with Fabric.js and React - Framework agnostic core with React UI components

Readme

FabricJS Design Tool

A comprehensive, modern design tool built with Fabric.js and React - ready for production use in any JavaScript framework.

npm version License: MIT TypeScript

✨ Features

  • 🎨 Rich Canvas Editing - Complete design tool with shapes, text, images
  • 🔧 Framework Agnostic Core - Use with React, Vue, Angular, or vanilla JS
  • ⚛️ React Components - Pre-built UI components for React apps
  • 📱 Responsive Design - Works on desktop and mobile
  • 🔒 TypeScript Support - Full type definitions included
  • 🚀 Production Ready - Optimized builds and tree-shaking
  • 📦 Modular Architecture - Import only what you need

🚀 Quick Start

Installation

npm install @rifrocket/fabricjs-design-tool

Basic Usage (Any Framework)

import { useCanvasManager, shapeFactory } from '@rifrocket/fabricjs-design-tool';

// Initialize canvas
const canvasManager = useCanvasManager();

// Create shapes
const rect = shapeFactory.createRectangle({
  left: 100,
  top: 100,
  fill: 'red',
  width: 100,
  height: 100
});

// Add to canvas
canvasManager.addObject(rect);

React Components

import React from 'react';
import { 
  CanvasWrapper, 
  Header, 
  LeftSidebar, 
  RightSidebar 
} from '@rifrocket/fabricjs-design-tool/ui';

function DesignApp() {
  return (
    <div className="design-app">
      <Header />
      <div className="design-layout">
        <LeftSidebar />
        <CanvasWrapper />
        <RightSidebar />
      </div>
    </div>
  );
}

📚 Documentation

🎯 Architecture

This library provides two main packages from a single install:

Core Library (fabricjs-design-tool)

Framework-agnostic functionality that works everywhere:

  • Canvas management hooks
  • Shape creation utilities
  • Export/import functions
  • Type definitions

UI Components (fabricjs-design-tool/ui)

React-specific components for quick implementation:

  • Complete design interface
  • Customizable toolbar
  • Property panels
  • Drag-and-drop shapes

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for comprehensive details on:

🚀 Quick Setup

git clone https://github.com/YOUR_USERNAME/fabricjs-design-tool.git
cd fabricjs-design-tool
npm install
npm run dev

📋 Available Commands

  • npm run dev - Start development server
  • npm run build:lib - Build library for distribution
  • npm run lint - Check code quality
  • npm run lint:fix - Auto-fix linting issues
  • npm run clean - Clean build artifacts

🚀 Automated Deployment

This project uses GitHub Actions for automated deployment:

  • GitHub Pages: Auto-deploys documentation and demo on every push to main
  • NPM Publishing: Auto-publishes to npm when package.json version changes
  • Releases: Auto-creates GitHub releases with tags when version changes

To publish a new version:

  1. Update the version in package.json
  2. Push to main branch
  3. GitHub Actions handles the rest automatically!

🏗️ Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. Submit a pull request

For detailed setup instructions, project structure, code style guidelines, and testing procedures, please read the Contributing Guide.

📄 License

MIT © [Your Name]

🔗 Links


Built with ❤️ using Fabric.js and React