BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/utils

cn() utility

motiq/utils
FreeUtility

Tailwind class-merge helper used by every Motiq component.

Install it

npx shadcn@latest add https://www.motiq.dev/r/utils.json

Source

registry/lib/utils.tswww.motiq.dev/r/utils.json
1import { clsx, type ClassValue } from "clsx";
2import { twMerge } from "tailwind-merge";
3
4/** Merge Tailwind class names; later/consumer classes win on conflict. */
5export function cn(...inputs: ClassValue[]): string {
6 return twMerge(clsx(inputs));
7}

What it pulls in

npm packages

  • clsx
  • tailwind-merge

Files it writes

  • registry/lib/utils.ts

Facts

Registry
motiq
Type
registry:lib
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-12
Last confirmed
today

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Motion primitivesprimitivesmotiqUtilitiesFreeno deps
BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

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

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

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

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

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

© 2026 BlockDex. A Kynth Studios product.

BlockDex