mui-grid-layout
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

mui-grid-layout

Bundlephobia Types NPM Version UnLicense

npm i mui-grid-layout

A lightweight and customizable grid layout component for React, inspired by Material-UI's Grid system, but without the need to install the entire Material-UI library.


Installation

npm install mui-grid-layout

Usage

Import the MuiGridLayout component in your React application and use it to create flexible grid layouts.

import React from 'react';
import MuiGridLayout from 'mui-grid-layout';

const YourComponent = () => {
  return (
    <MuiGridLayout container spacing={2}>
      <MuiGridLayout item xs={12} sm={6} md={4}>
        {/* Your content goes here */}
      </MuiGridLayout>
      <MuiGridLayout item xs={12} sm={6} md={4}>
        {/* Your content goes here */}
      </MuiGridLayout>
      <MuiGridLayout item xs={12} sm={6} md={4}>
        {/* Your content goes here */}
      </MuiGridLayout>
    </MuiGridLayout>
  );
};

export default YourComponent;

Package Sidebar

Install

npm i mui-grid-layout

Weekly Downloads

9

Version

1.1.0

License

MIT

Unpacked Size

865 kB

Total Files

44

Last publish

Collaborators

  • ahmad-hddad