1.0.10 • Published 1 year ago

react-supergrid v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

react-supergrid

online demo · npm

Easily create a grid with infinitely nesting subgrid cells.

gif of grid

import React from "react"
import { SuperGrid } from "react-supergrid"
import { useMouseMatrixTransform } from "use-mouse-matrix-transform"

export const MyApp = () => {
  const { transform, ref } = useMouseMatrixTransform()

  return (
    <div ref={ref}>
      <SuperGrid width={1000} height={1000} transform={transform} />
    </div>
  )
}

Installation

npm add react-supergrid

More

1.0.9

1 year ago

1.0.10

1 year ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago