Skip to content
プロジェクト

概要

UI Layoutsは単なるライブラリではありません。コンポーネントやエフェクト、デザインツール、すぐに使えるブロックを備えた、モダンなインターフェースをより速く構築するためのフロントエンド環境です。

Web・アプリ

この数値の測り方

計測したスター増加

24時間
+4
7日間
+16
15日間
+29
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

UI-Layout - Design That Really Makes Sense

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

Installation

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

npm install motion clsx tailwind-merge

Must Add it in the utils.ts:

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:

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

Visit all the components.

Labs

Visit Labs to explore more experiments and ideas.

👤 Author (Naymur)



Vercel OSS Program

Be A Sponsor

naymur-uilayout

関連プロジェクトを探す

読み込み中…