open-index/open-npm huggingface dataset:
npm package: @musaddek/masonry-layout
Description: A responsive grid/masonry layout component for React apps.
Author: Musaddek Ahmed
Latest version: 0.1.1

# 🧱 @musaddek/masonry-layout

A responsive and easy-to-use React image layout component that supports **grid**, **flex**, and **masonry-style** layouts with minimal configuration.

## 📦 Installation

```bash
npm install @musaddek/masonry-layout
# or
yarn add @musaddek/masonry-layout



🚀 Usage

import ImageLayout from '@musaddek/masonry-layout';

const images = [
  { src: '/images/img1.jpg', alt: 'Image 1' },
  { src: '/images/img2.jpg', alt: 'Image 2' },
  { src: '/images/img3.jpg', alt: 'Image 3' },
  // Add more images as needed
];

export default function App() {
  return (
    <div className="p-4">
      <ImageLayout
        images={images}
        layoutType="masonry" // Options: 'grid', 'flex', 'masonry'
        columns={3}
        gap="1rem"
      />
    </div>
  );
}



🧱 Supported Layouts
✅ Grid Layout

✅ Flex Layout

✅ Masonry Layout (auto-flowing columns)



📷 Example Image Object

{
  src: 'https://example.com/image.jpg',
  alt: 'Description'
}


💡 Notes

Responsive behavior depends on your outer container and TailwindCSS/grid CSS responsiveness.

Ideal for galleries, portfolio sections, and image-heavy dashboards.

🤝 Contribution

Feel free to open issues or submit pull requests.

📄 License
MIT © Musaddek Ahmed
npm package: @musaev/ionic-ui
Description: This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Latest version: 0.0.1-7

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
```

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list