Skip to content

A React component to create a grid of equally scaled boxes packed efficiently into a container, as seen in video conferencing apps like Zoom.

Notifications You must be signed in to change notification settings

mxmul/react-packed-grid

Folders and files

NameName
Last commit message
Last commit date
Feb 9, 2023
Jul 28, 2021
Feb 9, 2023
Oct 29, 2020
Oct 29, 2020
Feb 9, 2023
Feb 8, 2023
Oct 29, 2020
Oct 29, 2020
Oct 29, 2020
Feb 9, 2023
Feb 9, 2023
Oct 29, 2020
Oct 29, 2020

Repository files navigation

react-packed-grid

A React component to create a grid of equally scaled boxes packed efficiently into a container, as seen in video conferencing apps like Zoom.

NPM JavaScript Style Guide

Demo

https://mxmul.github.io/react-packed-grid/

Install

npm install --save react-packed-grid

Usage

import React from 'react'

import { PackedGrid } from 'react-packed-grid'

function Example {
  return (
    <PackedGrid>
        <div>Box 1</div>
        <div>Box 2</div>
        <div>Box 3</div>
    </PackedGrid>
  );
}

License

MIT © mxmul

About

A React component to create a grid of equally scaled boxes packed efficiently into a container, as seen in video conferencing apps like Zoom.

Resources

Stars

Watchers

Forks