# LoaderGrid

> The LoaderGrid component is a lightweight, colorful loading animation built with React, TypeScript, and Tailwind CSS. It uses two absolutely positioned elements that animate their box-shadow and size to create a dynamic, rotating motion. The component starts as a small square rotated by 165 degrees, with each pseudo-element expanding and contracting while shifting the positions of its glowing colored shadows. This effect produces an eye-catching illusion of spinning lights moving around a center point. The loader is small and reusable, making it perfect for modern web applications that need a stylish yet minimal loading indicator without relying on external libraries or heavy assets.

- Author: [ruhith](https://21st.dev/@ruhith369)
- License: unknown
- Live preview: https://21st.dev/@ruhith369/components/loader-grid

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/ruhith369/loader-grid?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
