BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/lyminhnghia/utils

Utility Functions

lyminhnghia/utils
FreeUtility

lyminhnghia publishes no description for this item.

Install it

npx shadcn@latest add https://lyminhnghia.github.io/r/utils.json

Source

src/lib/utils.tslyminhnghia.github.io/r/utils.json
1import type { ClassValue } from "clsx"
2import { clsx } from "clsx"
3import { twMerge } from "tailwind-merge"
4
5export const cn = (...inputs: ClassValue[]) => {
6 return twMerge(clsx(inputs))
7}

What it pulls in

npm packages

  • clsx
  • tailwind-merge

Files it writes

  • src/lib/utils.ts

Facts

Registry
lyminhnghia
Type
registry:lib
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-01
Last confirmed
yesterday

Go to the source

lyminhnghia.github.io lyminhnghia/lyminhnghia.github.io on GitHub Raw registry item This item as JSON

More from lyminhnghia

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Haptic FeedbackhapticlyminhnghiaUtilitiesFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex