mirror of
https://github.com/ui-layouts/ui-tools.git
synced 2026-08-29 01:55:24 +08:00
main
chore: upgrade Next.js to 15.5.18 to address middleware/proxy bypass
…
…
…
…
…
…
…
UI Tools is an open-source ui-tools for design engineers, developer. It's a creative toolbox featuring shadow, SVG, gradient, and background pattern generators, color. Open-source, fast, and made for builders.
Installation
You must install tailwindcss. As most of our components use 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;
}
Tools
TODO List
- Shadows
- Svg Clip-Path
- BG Snippets
- Mesh-Gradients
- Colors with Shadcn/themes
👤 Author (Naymur)
- X: @naymur_dev
- LinkedIn: in/naymur-rahman
Be A Sponsor
Description
Open Source UI-TOOLS for Designer/Developer.
backgroundbackground-snippetsclip-pathdesign-toolsdeveloper-toolsgradientsmesh-gradientsnextjs15shadow-generatorshadowssvg-editortailwindcsstailwindcss-v4
Readme
11 MiB
Languages
TypeScript
99.3%
CSS
0.7%
