MCPcopy
hub / github.com/nolly-studio/cult-ui / cn

Function cn

apps/www/lib/utils.ts:4–6  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

2import { twMerge } from "tailwind-merge"
3
4export function cn(...inputs: ClassValue[]) {
5 return twMerge(clsx(inputs))
6}
7
8export function absoluteUrl(path: string) {
9 return `${process.env.NEXT_PUBLIC_APP_URL || "https://cult-ui.com"}${path}`

Callers 15

mdx-components.tsxFile · 0.90
BorderBeamButtonDemoFunction · 0.90
RangeFieldFunction · 0.90
CaptionMetaChipFunction · 0.90
PanelSectionFunction · 0.90
DitherImageDemoUploadFunction · 0.90
FeatureVotingExampleFunction · 0.90
HoverVideoPlayerDemoFunction · 0.90
MetalButtonDemoFunction · 0.90
VoteTallyExampleFunction · 0.90
VoteTallyCompactFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected