Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Unizoy/unizoy-ui
/ functions
Functions
336 in github.com/Unizoy/unizoy-ui
⨍
Functions
336
◇
Types & classes
79
↓ 281 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 63 callers
Function
cn
(...inputs: ClassValue[])
registry/lib/utils.ts:4
↓ 9 callers
Function
useConfig
()
hooks/use-config.ts:21
↓ 6 callers
Function
copyToClipboardWithMeta
(value: string, event?: Event)
components/copy-button.tsx:24
↓ 5 callers
Function
dispatch
(action: Action)
registry/hooks/use-toast.ts:133
↓ 5 callers
Function
dispatch
(action: Action)
hooks/use-toast.ts:133
↓ 5 callers
Function
generateSEO
({ title, description, keywords = [], canonical, ogImage, ogType = "website", publishedTime, m
lib/seo.ts:20
↓ 5 callers
Function
getNodeAttributeByName
(node: UnistNode, name: string)
lib/rehype-component.ts:267
↓ 4 callers
Function
useCarousel
()
components/ui/carousel.tsx:35
↓ 4 callers
Function
useFormField
()
components/ui/form.tsx:44
↓ 4 callers
Function
useSidebar
()
components/ui/sidebar.tsx:41
↓ 3 callers
Function
copyToClipboard
(value: string)
hooks/use-copy-to-clipboard.ts:14
↓ 3 callers
Function
extractVariable
(sourceFile: SourceFile, name: string)
lib/registry.ts:175
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
components/ui/chart.tsx:320
↓ 3 callers
Function
handlePointerEvent
(x: number, y: number)
registry/ui/image-trail.tsx:209
↓ 3 callers
Function
removeVariable
(sourceFile: SourceFile, name: string)
lib/registry.ts:171
↓ 3 callers
Function
toLinear
(number: number)
lib/colors.ts:76
↓ 3 callers
Function
trackEvent
(input: Event)
lib/events.ts:27
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
registry/hooks/use-toast.ts:58
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
hooks/use-toast.ts:58
↓ 2 callers
Function
animateIn
()
registry/ui/testimonial.tsx:46
↓ 2 callers
Function
createFileTreeForRegistryItemFiles
( files: Array<{ path: string; target?: string }> )
lib/registry.ts:239
↓ 2 callers
Function
createTempSourceFile
(filename: string)
lib/registry.ts:166
↓ 2 callers
Function
flattenNode
(node)
lib/toc.ts:10
↓ 2 callers
Function
getDocFromParams
({ params }: DocPageProps)
app/(app)/docs/[[...slug]]/page.tsx:69
↓ 2 callers
Function
getThemeCode
(theme: BaseColor, radius: number)
components/theme-customizer.tsx:464
↓ 2 callers
Function
handleMouseEnter
(check: boolean)
registry/ui/copy-icon.tsx:51
↓ 2 callers
Function
themeColorsToCssVariables
( colors: Record<string, string> )
lib/charts.ts:1
↓ 2 callers
Function
updateCircleSize
()
registry/ui/button.tsx:102
↓ 2 callers
Function
updateErrorState
( event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> )
components/contact-us/contact.tsx:142
↓ 2 callers
Function
useChart
()
components/ui/chart.tsx:27
↓ 2 callers
Function
useMetaColor
()
hooks/use-meta-color.ts:6
↓ 2 callers
Function
useMounted
()
hooks/use-mounted.ts:3
↓ 2 callers
Function
useThemesConfig
()
hooks/use-themes-config.ts:14
↓ 1 callers
Function
absoluteUrl
(path: string)
lib/utils.ts:17
↓ 1 callers
Function
addImage
(x: number, y: number)
registry/ui/image-trail.tsx:137
↓ 1 callers
Function
animateIn
()
registry/ui/button.tsx:129
↓ 1 callers
Function
animateOut
(onComplete: () => void)
registry/ui/testimonial.tsx:62
↓ 1 callers
Function
animateOut
(x: number, y: number)
registry/ui/button.tsx:138
↓ 1 callers
Function
animateRandomCharsFromEachWord
()
registry/ui/text-rollup-effect.tsx:32
↓ 1 callers
Function
applyInertia
( initialVelocity: number, startX: number, minBound: number )
registry/ui/draggable-carousel.tsx:110
↓ 1 callers
Function
dismiss
()
registry/hooks/use-toast.ts:150
↓ 1 callers
Function
dismiss
()
hooks/use-toast.ts:150
↓ 1 callers
Function
fixFilePaths
(files: z.infer<typeof registryItemSchema>["files"])
lib/registry.ts:190
↓ 1 callers
Function
fixImport
(content: string)
lib/registry.ts:208
↓ 1 callers
Function
flatten
(links: NavItemWithChildren[])
components/pager.tsx:61
↓ 1 callers
Function
genId
()
registry/hooks/use-toast.ts:27
↓ 1 callers
Function
genId
()
hooks/use-toast.ts:27
↓ 1 callers
Function
generateStructuredData
( type: "Website" | "SoftwareApplication" | "Article", data: any )
lib/seo.ts:209
↓ 1 callers
Function
getClassName
()
registry/ui/product-preview.tsx:326
↓ 1 callers
Function
getDistance
(x1: number, y1: number, x2: number, y2: number)
registry/ui/image-trail.tsx:133
↓ 1 callers
Function
getFileContent
(file: z.infer<typeof registryItemFileSchema>)
lib/registry.ts:82
↓ 1 callers
Function
getFileTarget
(file: z.infer<typeof registryItemFileSchema>)
lib/registry.ts:137
↓ 1 callers
Function
getForegroundFromBackground
(rgb: string)
lib/colors.ts:73
↓ 1 callers
Function
getItems
(node, current)
lib/toc.ts:29
↓ 1 callers
Function
getPagerForDoc
(doc: Doc)
components/pager.tsx:42
↓ 1 callers
Function
getRandomColorPair
()
registry/ui/custom-pointer.tsx:14
↓ 1 callers
Function
getTableOfContents
( content: string )
lib/toc.ts:75
↓ 1 callers
Function
handleSlideClick
(index: number)
registry/ui/carousel.tsx:121
↓ 1 callers
Function
isVideo
(url: string)
registry/ui/testimonial.tsx:91
↓ 1 callers
Function
mergeRefs
(...refs: (React.Ref<T> | undefined)[])
registry/lib/utils.ts:7
↓ 1 callers
Function
processChildren
(children: ReactNode)
registry/ui/scroll-opacity-effect.tsx:54
↓ 1 callers
Function
reducer
(state: State, action: Action)
registry/hooks/use-toast.ts:74
↓ 1 callers
Function
reducer
(state: State, action: Action)
hooks/use-toast.ts:74
↓ 1 callers
Function
renderContent
()
registry/ui/product-preview.tsx:312
↓ 1 callers
Function
setCardRef
(el: HTMLDivElement | null, index: number)
registry/ui/scaling-sliding-cards.tsx:64
↓ 1 callers
Function
splitWords
(phrase: string)
registry/ui/scroll-opacity-effect.tsx:38
↓ 1 callers
Function
themeColorNameToCssVariable
(name: string)
lib/charts.ts:23
↓ 1 callers
Function
updateCursorPosition
(x: number, y: number)
registry/ui/text-hover-effect.tsx:39
↓ 1 callers
Function
useActiveItem
(itemIds: string[])
components/toc.tsx:41
↓ 1 callers
Function
useColors
()
hooks/use-colors.ts:15
↓ 1 callers
Function
useCopyToClipboard
({ timeout = 2000, onCopy, }: { timeout?: number onCopy?: () => void } = {})
hooks/use-copy-to-clipboard.ts:5
↓ 1 callers
Function
useIsMobile
()
hooks/use-mobile.tsx:5
↓ 1 callers
Function
useMediaQuery
(query: string)
hooks/use-media-query.tsx:3
↓ 1 callers
Function
useProject
()
hooks/use-project.ts:15
↓ 1 callers
Function
useToast
()
hooks/use-toast.ts:171
Function
AlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:62
Function
AlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:48
Function
AnimatedTooltip
({ items, }: { items: { id: number name: string designation: string image: string }[] })
registry/ui/animated-tooltip.tsx:6
Function
AnimatedTooltipDemo
()
registry/examples/animated-tooltip-demo.tsx:4
Function
Announcement
()
components/announcement.tsx:4
Function
AppLayout
({ children }: AppLayoutProps)
app/(app)/layout.tsx:8
Function
Badge
({ className, variant, ...props }: BadgeProps)
components/ui/badge.tsx:30
Function
BreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<"span">)
components/ui/breadcrumb.tsx:91
Function
BreadcrumbSeparator
({ children, className, ...props }: React.ComponentProps<"li">)
components/ui/breadcrumb.tsx:75
Function
BreadcrumbStructuredData
({ items }: BreadcrumbProps)
components/seo-script.tsx:28
Function
Button2
({ children, className, hoverColor, ...props }: Button2Props)
registry/ui/button.tsx:239
Function
Button3
({ children, className, initialDotTranslate = -100, finalDotTranslate = 0, initialArrowTranslate = -
registry/ui/button.tsx:322
Function
ButtonDemo
()
registry/examples/button-demo.tsx:3
Function
Calendar
({ className, classNames, showOutsideDays = true, ...props }: CalendarProps)
components/ui/calendar.tsx:12
Function
Callout
({ title, children, icon, className, ...props }: React.ComponentProps<typeof Alert> & { icon?: strin
components/callout.tsx:4
Function
Card
({ title, description, imgSrc, alt = "Card image", }: CardProps)
registry/examples/snapping-scroll-cards-demo.tsx:75
Function
Card
({ title, description, imgSrc, alt = "Card image", }: CardProps)
registry/examples/scrolling-cards-demo.tsx:74
Function
Card
()
registry/examples/custom-pointer-demo.tsx:3
Function
Card1
()
registry/examples/motion-cards-demo.tsx:33
Function
Card2
()
registry/examples/motion-cards-demo.tsx:46
Function
Card3
()
registry/examples/motion-cards-demo.tsx:54
Function
Card4
()
registry/examples/motion-cards-demo.tsx:62
Function
CardWithCustomCursor
()
registry/examples/custom-pointer-custom-cursor.tsx:3
Function
Carousel
({ slides }: CarouselProps)
registry/ui/carousel.tsx:30
next →
1–100 of 336, ranked by callers