<img alt="UI-Layout - Design That Really Makes Sense" src="ui-layouts.jpg" width="100%">

UI-LAYOUTs is an open-source component library that makes easier for developers and designers to build websites. It's focused on creative designs. I love to create comopnent that really matter or need your site and I belive in future I'll bring more as i kept bringing more just support me

<!-- <h3 align="center">UI-Layout</h3>
<p align="center">
    Design That Really Makes Sense
</p> -->

## Installation

You must install `tailwindcss`. As most of our components use `framer-motion` install it too.

```bash
npm install motion clsx tailwind-merge
```

Must Add it in the `utils.ts`:

```tsx title="utils.tsx"
import { type ClassValue, clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}
```

use this hooks for mediaQueries:

```tsx title="use-media-query.tsx"
import { useEffect, useState } from 'react'

export function useMediaQuery(query: string) {
  const [value, setValue] = useState(false)

  useEffect(() => {
    function onChange(event: MediaQueryListEvent) {
      setValue(event.matches)
    }

    const result = matchMedia(query)
    result.addEventListener('change', onChange)
    setValue(result.matches)

    return () => result.removeEventListener('change', onChange)
  }, [query])

  return value
}
```



## Most Used Components

- [R3F Blob Effect](https://www.ui-layouts.com/components/r3f-blob)
- [Image Ripple Effect](https://www.ui-layouts.com/components/image-ripple-effect)
- [Buy Me Coffee](https://www.ui-layouts.com/components/buy-me-coffee)
- [Youtube Tags](https://www.ui-layouts.com/components/tags-input)
- [File Upload](https://www.ui-layouts.com/components/file-upload)
- [Password](https://www.ui-layouts.com/components/password)
- [Range Slider](https://www.ui-layouts.com/components/range-slider)
- [Motion Number](https://www.ui-layouts.com/components/motion-number)
- [Embla Carousel](https://www.ui-layouts.com/components/carousel)
- [Sparkles](https://www.ui-layouts.com/components/sparkles)
- [Drag Items](https://www.ui-layouts.com/components/drag-items)
- [Timeline Animation](https://www.ui-layouts.com/components/timeline-animation)
- [Clip Path Image](https://www.ui-layouts.com/components/clip-path)
- [Buttons](https://www.ui-layouts.com/components/buttons)
- [Image Mousetrail](https://www.ui-layouts.com/components/image-mousetrail)
- [Image Reveal](https://www.ui-layouts.com/components/image-reveal)

Visit all the [components](https://www.ui-layouts.com/components).

## Labs

Visit [Labs](https://www.ui-layouts.com/labs) to explore more experiments and ideas.

## 👤 Author (Naymur)

- X: [@naymur_dev](https://x.com/naymur_dev)
- LinkedIn: [in/naymur-rahman](https://www.linkedin.com/in/naymur-rahman/)

<br />
<br />
<a href="https://vercel.com/oss">
  <img alt="Vercel OSS Program" src="https://vercel.com/oss/program-badge.svg" />
</a>

## Be A Sponsor

<a href="https://buymeacoffee.com/naymurdev"> <img align="left" src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="50" width="210" alt="naymur-uilayout" /></a>
<br/>