MCPcopy Create free account

hub / github.com/akash3444/shadcn-ui-blocks / functions

Functions2,745 in github.com/akash3444/shadcn-ui-blocks

↓ 1,471 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:5
↓ 20 callersFunctioncapture
( event: T, properties?: AnalyticsEvents[T] )
src/lib/analytics.ts:51
↓ 12 callersFunctionabsoluteUrl
(path: string)
src/lib/utils.ts:33
↓ 11 callersFunctionuseBlockContext
()
src/providers/block-provider.tsx:196
↓ 9 callersFunctioncodeToHtml
(code: string)
src/lib/shiki.ts:3
↓ 8 callersFunctionconstructMetadata
(metadata: Metadata)
src/lib/metadata.ts:3
↓ 6 callersFunctioncopyToClipboard
(value: string)
src/components/customized/button/button-20.tsx:33
↓ 6 callersFunctionuseOGImageContext
()
src/providers/og-image-provider.tsx:107
↓ 5 callersFunctionapplyThemeToIframe
( iframe: HTMLIFrameElement, theme: Theme, colorThemeId: string )
src/hooks/use-block-theme.tsx:44
↓ 5 callersFunctioncapitalize
(str: string)
src/lib/utils.ts:9
↓ 5 callersFunctionuseCopyToClipboard
({ timeout = 2000, onCopy, }: { timeout?: number; onCopy?: () => void; } = {})
src/hooks/use-copy-to-clipboard.tsx:5
↓ 4 callersFunctiongetFileContent
(filePath: string)
src/lib/file.ts:24
↓ 4 callersFunctionreadPublished
(name: string)
tests/public-json-parity.test.ts:23
↓ 4 callersFunctionuseCarousel
()
src/registry/bases/base/ui/carousel.tsx:34
↓ 4 callersFunctionuseCarousel
()
src/registry/bases/radix/ui/carousel.tsx:34
↓ 4 callersFunctionuseCarousel
()
src/registry/ui/carousel.tsx:34
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:34
↓ 4 callersFunctionuseFormField
()
src/registry/ui/form.tsx:44
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:44
↓ 4 callersFunctionuseIsMobile
()
src/hooks/use-mobile.ts:5
↓ 4 callersFunctionuseSidebar
()
src/registry/bases/base/ui/sidebar.tsx:46
↓ 4 callersFunctionuseSidebar
()
src/registry/bases/radix/ui/sidebar.tsx:45
↓ 4 callersFunctionuseSidebar
()
src/registry/ui/sidebar.tsx:41
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:46
↓ 3 callersFunctiondrawCircle
(circle: Circle, update = false)
src/registry/blocks/base/hero-06/components/ui/particles.tsx:176
↓ 3 callersFunctiondrawCircle
(circle: Circle, update = false)
src/registry/blocks/radix/hero-06/components/ui/particles.tsx:176
↓ 3 callersFunctiondrawCircle
(circle: Circle, update = false)
src/registry/bases/base/ui/particles.tsx:176
↓ 3 callersFunctiondrawCircle
(circle: Circle, update = false)
src/registry/bases/radix/ui/particles.tsx:176
↓ 3 callersFunctiondrawCircle
(circle: Circle, update = false)
src/components/ui/particles.tsx:176
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/registry/bases/base/ui/chart.tsx:330
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/registry/bases/radix/ui/chart.tsx:330
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/registry/ui/chart.tsx:319
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/components/ui/chart.tsx:330
↓ 3 callersFunctionhandleChange
(newValue: PriceRange)
src/components/customized/collapsible/collapsible-04.tsx:44
↓ 2 callersFunctioncircleParams
()
src/registry/blocks/base/hero-06/components/ui/particles.tsx:147
↓ 2 callersFunctioncircleParams
()
src/registry/blocks/radix/hero-06/components/ui/particles.tsx:147
↓ 2 callersFunctioncircleParams
()
src/registry/bases/base/ui/particles.tsx:147
↓ 2 callersFunctioncircleParams
()
src/registry/bases/radix/ui/particles.tsx:147
↓ 2 callersFunctioncircleParams
()
src/components/ui/particles.tsx:147
↓ 2 callersFunctionclearContext
()
src/registry/blocks/base/hero-06/components/ui/particles.tsx:192
↓ 2 callersFunctionclearContext
()
src/registry/blocks/radix/hero-06/components/ui/particles.tsx:192
↓ 2 callersFunctionclearContext
()
src/registry/bases/base/ui/particles.tsx:192
↓ 2 callersFunctionclearContext
()
src/registry/bases/radix/ui/particles.tsx:192
↓ 2 callersFunctionclearContext
()
src/components/ui/particles.tsx:192
↓ 2 callersFunctionformatCurrency
(amount: number)
src/registry/blocks/base/order-confirmation-02/components/order-confirmation.tsx:44
↓ 2 callersFunctionformatCurrency
(amount: number)
src/registry/blocks/radix/order-confirmation-02/components/order-confirmation.tsx:44
↓ 2 callersFunctionformatDuration
(duration: number)
src/components/customized/slider/slider-08.tsx:6
↓ 2 callersFunctiongenerateOgImageUrl
({ title, type, mode = "light", }: { title: string; type: string; mode?: "light" | "dark"; })
src/lib/og.ts:1
↓ 2 callersFunctiongenerateSquares
(count: number)
src/registry/blocks/base/hero-07/components/ui/animated-grid-pattern.tsx:45
↓ 2 callersFunctiongenerateSquares
(count: number)
src/registry/blocks/radix/hero-07/components/ui/animated-grid-pattern.tsx:45
↓ 2 callersFunctiongenerateSquares
(count: number)
src/registry/bases/base/ui/animated-grid-pattern.tsx:45
↓ 2 callersFunctiongenerateSquares
(count: number)
src/registry/bases/radix/ui/animated-grid-pattern.tsx:45
↓ 2 callersFunctiongenerateSquares
(count: number)
src/components/magicui/animated-grid-pattern.tsx:50
↓ 2 callersFunctiongenerateSquares
(count: number)
src/components/ui/animated-grid-pattern.tsx:45
↓ 2 callersFunctiongetBlockFiles
( block: (typeof blocks)[number], primitive: "radix" | "base" )
src/providers/block-provider.tsx:86
↓ 2 callersFunctiongetCategoryTitle
(name: string)
src/components/blocks/category/category-navigation.tsx:19
↓ 2 callersFunctiongetInstallationCommand
( packageManager: string, registryUrl: string )
src/lib/shadcn-registry.ts:1
↓ 2 callersFunctiongetNumberOfFilesInsideDirectory
( directoryPath: string )
src/lib/file.ts:6
↓ 2 callersFunctiongetPos
()
src/registry/blocks/base/hero-07/components/ui/animated-grid-pattern.tsx:37
↓ 2 callersFunctiongetPos
()
src/registry/blocks/radix/hero-07/components/ui/animated-grid-pattern.tsx:37
↓ 2 callersFunctiongetPos
()
src/registry/bases/base/ui/animated-grid-pattern.tsx:37
↓ 2 callersFunctiongetPos
()
src/registry/bases/radix/ui/animated-grid-pattern.tsx:37
↓ 2 callersFunctiongetPos
()
src/components/magicui/animated-grid-pattern.tsx:42
↓ 2 callersFunctiongetPos
()
src/components/ui/animated-grid-pattern.tsx:37
↓ 2 callersFunctiongetResultItems
()
src/components/app-sidebar/sidebar-searchable-content.tsx:50
↓ 2 callersFunctiongetStoredColorTheme
()
src/hooks/use-block-theme.tsx:11
↓ 2 callersFunctionhandleCheckedChange
( name: string, checked: CheckboxPrimitive.CheckedState )
src/components/customized/checkbox/checkbox-03.tsx:39
↓ 2 callersFunctionhandleVersionSwitch
(url: string)
src/components/version-switcher.tsx:26
↓ 2 callersFunctioninitCanvas
()
src/registry/blocks/base/hero-06/components/ui/particles.tsx:102
↓ 2 callersFunctioninitCanvas
()
src/registry/blocks/radix/hero-06/components/ui/particles.tsx:102
↓ 2 callersFunctioninitCanvas
()
src/registry/bases/base/ui/particles.tsx:102
↓ 2 callersFunctioninitCanvas
()
src/registry/bases/radix/ui/particles.tsx:102
↓ 2 callersFunctioninitCanvas
()
src/components/ui/particles.tsx:102
↓ 2 callersFunctionnavigateToCategory
(index: number)
src/components/blocks/block-preview-keyboard-nav.tsx:39
↓ 2 callersFunctionremoveBlockPrefixFromPath
(path: string)
src/lib/blocks.ts:54
↓ 2 callersFunctionsetStoredPackageManager
(packageManager: PackageManager)
src/providers/package-manager-provider.tsx:43
↓ 2 callersFunctionsetStoredPrimitive
(primitive: PrimitiveLibrary)
src/providers/primitive-provider.tsx:37
↓ 2 callersFunctiontoDeclarations
(vars: Record<string, string>)
src/hooks/use-block-theme.tsx:32
↓ 2 callersFunctionupdateCodeContent
()
src/providers/block-provider.tsx:142
↓ 2 callersFunctionuseChart
()
src/registry/bases/base/ui/chart.tsx:32
↓ 2 callersFunctionuseChart
()
src/registry/bases/radix/ui/chart.tsx:32
↓ 2 callersFunctionuseChart
()
src/registry/ui/chart.tsx:30
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:32
↓ 2 callersFunctionusePrimitive
()
src/providers/primitive-provider.tsx:80
↓ 1 callersFunctionMousePosition
()
src/registry/blocks/base/hero-06/components/ui/particles.tsx:12
↓ 1 callersFunctionMousePosition
()
src/registry/blocks/radix/hero-06/components/ui/particles.tsx:12
↓ 1 callersFunctionMousePosition
()
src/registry/bases/base/ui/particles.tsx:12
↓ 1 callersFunctionMousePosition
()
src/registry/bases/radix/ui/particles.tsx:12
↓ 1 callersFunctionMousePosition
()
src/components/ui/particles.tsx:12
↓ 1 callersFunctionanimate
()
src/registry/blocks/base/hero-06/components/ui/particles.tsx:224
↓ 1 callersFunctionanimate
()
src/registry/blocks/radix/hero-06/components/ui/particles.tsx:224
↓ 1 callersFunctionanimate
()
src/registry/bases/base/ui/particles.tsx:224
↓ 1 callersFunctionanimate
()
src/registry/bases/radix/ui/particles.tsx:224
↓ 1 callersFunctionanimate
()
src/components/ui/particles.tsx:224
↓ 1 callersFunctionbuildThemeCss
(theme: ColorTheme)
src/hooks/use-block-theme.tsx:31
↓ 1 callersFunctioncopyToClipboard
(value: string)
src/registry/blocks/base/code-block-02/hooks/use-copy-to-clipboard.tsx:14
↓ 1 callersFunctioncopyToClipboard
(value: string)
src/registry/blocks/radix/code-block-02/hooks/use-copy-to-clipboard.tsx:14
↓ 1 callersFunctiondrawParticles
()
src/registry/blocks/base/hero-06/components/ui/particles.tsx:203
↓ 1 callersFunctiondrawParticles
()
src/registry/blocks/radix/hero-06/components/ui/particles.tsx:203
↓ 1 callersFunctiondrawParticles
()
src/registry/bases/base/ui/particles.tsx:203
next →1–100 of 2,745, ranked by callers