Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PageAI-Pro/page-ui
/ functions
Functions
517 in github.com/PageAI-Pro/page-ui
⨍
Functions
517
◇
Types & classes
63
↓ 215 callers
Function
cn
(...inputs: ClassValue[])
components/lib/utils.ts:4
↓ 67 callers
Function
convertToRgba
({ color, opacity, }: { color: string; opacity: number; })
components/lib/utils.ts:8
↓ 20 callers
Function
cn
(...inputs: ClassValue[])
website/lib/utils.ts:4
↓ 18 callers
Function
withRgbOpacity
(variableName, important)
website/tailwind.config.js:16
↓ 14 callers
Function
cn
(...args: Array<string | boolean | undefined | null>)
templates/landing-page-templates/template/gnomie-ai/bricks/8-pricing.tsx:88
↓ 14 callers
Function
convertToHSL
(hex: string)
components/bricks/theme/code-stringifiers/get-shadcn-ui-theme-string.ts:66
↓ 9 callers
Function
useThemeSwitch
()
components/shared/useThemeSwitch.tsx:3
↓ 8 callers
Function
toast
({ ...props }: Toast)
components/shared/ui/use-toast.ts:143
↓ 5 callers
Function
dispatch
(action: Action)
components/shared/ui/use-toast.ts:134
↓ 4 callers
Method
dot2
(x: number, y: number)
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:19
↓ 4 callers
Function
getFontName
(fontName: string)
components/bricks/theme/code-stringifiers/get-nextjs-font-string.ts:3
↓ 4 callers
Function
useCarousel
()
components/shared/ui/carousel.tsx:30
↓ 4 callers
Function
useFormField
()
components/shared/ui/form.tsx:42
↓ 3 callers
Function
copyFilesAndDirectories
({ files = [], directories = [], postCopyCommand, })
packages/cli/index.mjs:52
↓ 3 callers
Function
genPageMetadata
({ title, description, image, ...rest }: PageSEOProps)
website/app/seo.tsx:12
↓ 3 callers
Function
getAnimationDuration
()
components/landing/cta-backgrounds/LandingStraightLinesCtaBg.tsx:149
↓ 3 callers
Function
getDisplayFontName
(fontPairing: FontPairing)
components/bricks/theme/theme-and-font-selector.tsx:38
↓ 3 callers
Function
getHtmlFontStyleString
(fonts: { default: FontDefinition; display: FontDefinition; })
components/bricks/theme/code-stringifiers/get-html-font-string.ts:22
↓ 3 callers
Function
getHtmlTheme
(colors: { primary: Record<string, string>; secondary: Record<string, string>; })
components/bricks/theme/code-stringifiers/get-html-theme-string.ts:1
↓ 3 callers
Method
lerp
(a: number, b: number, t: number)
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:84
↓ 3 callers
Function
moved
(point: WavePoint)
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:255
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
components/shared/ui/use-toast.ts:59
↓ 2 callers
Function
copyFile
(src, dest)
packages/cli/index.mjs:29
↓ 2 callers
Method
fade
(t: number)
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:80
↓ 2 callers
Function
generateRss
(config, posts, page = 'feed.xml')
website/scripts/rss.mjs:23
↓ 2 callers
Function
getAnimationDuration
()
components/landing/cta-backgrounds/LandingCurvedLinesCtaBg.tsx:78
↓ 2 callers
Function
getFiles
({ toPathPrefix = '', toPathIgnore = [], filelist, fromPlaceholder = PLACEHOLDER_PATH, fromPlacehold
packages/cli/files/getFiles.js:4
↓ 2 callers
Function
getFontDefinition
( fontDefinition: FontDefinition, type: 'default' | 'display', )
components/bricks/theme/code-stringifiers/get-nextjs-font-string.ts:7
↓ 2 callers
Function
getGoogleFontDefinition
({ fontFamilyDisplay, fontFamilyDefault, }: { fontFamilyDisplay: FontDefinition; fontFamilyDefault: Fo
components/bricks/theme/get-google-font-definition.ts:3
↓ 2 callers
Function
getHtmlFontPageString
(fonts: { default: FontDefinition; display: FontDefinition; })
components/bricks/theme/code-stringifiers/get-html-font-string.ts:41
↓ 2 callers
Function
getNextjsFontImportString
(fonts: { default: FontDefinition; display: FontDefinition; })
components/bricks/theme/code-stringifiers/get-nextjs-font-string.ts:34
↓ 2 callers
Function
getNextjsFontString
(fonts: { default: FontDefinition; display: FontDefinition; })
components/bricks/theme/code-stringifiers/get-nextjs-font-string.ts:57
↓ 2 callers
Function
getNextjsHtmlFontString
()
components/bricks/theme/code-stringifiers/get-nextjs-font-string.ts:48
↓ 2 callers
Function
getRepeatDelay
()
components/landing/cta-backgrounds/LandingStraightLinesCtaBg.tsx:160
↓ 2 callers
Function
getShipixenThemeJs
(themeValues: typeof DEFAULT_COLORS)
components/bricks/theme/code-stringifiers/get-theme-js-file.tsx:3
↓ 2 callers
Function
getStyleString
( colorThemeValues: Omit< typeof DEFAULT_COLORS, 'primaryTailwindName' | 'secondaryTailwindName' >
components/bricks/theme/code-stringifiers/get-style-string.ts:4
↓ 2 callers
Function
init
()
components/landing/cta-backgrounds/LandingFlyingParticleCtaBg.tsx:206
↓ 2 callers
Function
mapColors
( theme: (typeof complementaryColorThemes)[0], index?: number, selected?: boolean, )
components/bricks/theme/theme-selector.tsx:102
↓ 2 callers
Function
mapColors
( theme: ColorThemeObject, index?: number, selected?: boolean, )
components/bricks/theme/theme-and-font-selector.tsx:245
↓ 2 callers
Function
pickColorTheme
(theme: ColorThemeObject, index: number)
components/bricks/theme/theme-and-font-selector.tsx:227
↓ 2 callers
Function
renderSvgElement
(svgClassName?: string)
components/landing/leading/LandingLeadingPill.tsx:275
↓ 2 callers
Function
setLines
()
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:217
↓ 2 callers
Function
setSize
()
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:210
↓ 2 callers
Function
updateCanvasSize
()
components/landing/cta-backgrounds/LandingDotParticleCtaBg.tsx:23
↓ 2 callers
Function
updateCanvasSize
()
components/landing/cta-backgrounds/LandingFlyingParticleCtaBg.tsx:28
↓ 2 callers
Function
updateCanvasSize
()
components/landing/cta-backgrounds/LandingFlickeringGridCtaBg.tsx:225
↓ 2 callers
Function
useCopyBrickCode
({ demo, brick })
components/bricks/useCopyBrickCode.tsx:4
↓ 1 callers
Function
animate
()
components/landing/cta-backgrounds/LandingDotParticleCtaBg.tsx:93
↓ 1 callers
Function
animate
()
components/landing/cta-backgrounds/LandingFlyingParticleCtaBg.tsx:213
↓ 1 callers
Function
copyDirectory
(src, dest)
packages/cli/index.mjs:33
↓ 1 callers
Function
copyToClipboardWithMeta
(value: string)
components/shared/ui/copy-button.tsx:15
↓ 1 callers
Function
createSearchIndex
(allBlogs)
website/contentlayer.config.ts:72
↓ 1 callers
Function
createTagCount
* Count the occurrences of all tags across blog posts and write to json file
website/contentlayer.config.ts:55
↓ 1 callers
Function
dismiss
()
components/shared/ui/use-toast.ts:151
↓ 1 callers
Method
draw
()
components/landing/cta-backgrounds/LandingDotParticleCtaBg.tsx:80
↓ 1 callers
Method
draw
()
components/landing/cta-backgrounds/LandingFlyingParticleCtaBg.tsx:192
↓ 1 callers
Function
drawLines
()
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:261
↓ 1 callers
Function
ensureDir
(filePath)
packages/cli/index.mjs:47
↓ 1 callers
Function
genId
()
components/shared/ui/use-toast.ts:28
↓ 1 callers
Function
generateRSS
(config, allBlogs, page = 'feed.xml')
website/scripts/rss.mjs:41
↓ 1 callers
Function
generateRssItem
(config, post)
website/scripts/rss.mjs:11
↓ 1 callers
Function
getBackgroundGradient
()
components/landing/cta-backgrounds/LandingDiagonalCtaBg.tsx:14
↓ 1 callers
Function
getBaseGradient
()
components/landing/cta-backgrounds/LandingBlobCtaBg.tsx:20
↓ 1 callers
Function
getBgColor
()
components/landing/cta-backgrounds/LandingMouseHighlightCtaBg.tsx:21
↓ 1 callers
Function
getDiagonalColors
()
components/landing/cta-backgrounds/LandingDiagonalCtaBg.tsx:25
↓ 1 callers
Function
getFormattedNumberOfUsers
(numberOfUsers: number)
components/landing/social-proof/LandingSocialProof.tsx:8
↓ 1 callers
Function
getFormattedPlaceFromNumber
(place: number)
components/landing/social-proof/LandingProductHuntAward.tsx:3
↓ 1 callers
Function
getGradientOverlay
()
components/landing/cta-backgrounds/LandingGridPatternCtaBg.tsx:91
↓ 1 callers
Function
getGridColor
()
components/landing/cta-backgrounds/LandingGridPatternCtaBg.tsx:66
↓ 1 callers
Function
getGridSize
()
components/landing/cta-backgrounds/LandingGridPatternCtaBg.tsx:48
↓ 1 callers
Function
getHtmlFontString
(fonts: { default: FontDefinition; display: FontDefinition; })
components/bricks/theme/code-stringifiers/get-html-font-string.ts:4
↓ 1 callers
Function
getIntensityOpacity
()
components/landing/cta-backgrounds/LandingDiagonalCtaBg.tsx:51
↓ 1 callers
Function
getLogoSize
(dimensions: { width: number; height: number })
website/app/api/og/route.tsx:12
↓ 1 callers
Function
getParticleColor
()
components/landing/cta-backgrounds/LandingDotParticleCtaBg.tsx:34
↓ 1 callers
Function
getParticleColor
()
components/landing/cta-backgrounds/LandingFlyingParticleCtaBg.tsx:41
↓ 1 callers
Function
getPositionClasses
()
components/landing/cta-backgrounds/LandingBlobCtaBg.tsx:31
↓ 1 callers
Function
getShadcnTheme
(colors: { primary: Record<string, string>; secondary: Record<string, string>; })
components/bricks/theme/code-stringifiers/get-shadcn-ui-theme-string.ts:3
↓ 1 callers
Function
loadCodeAsync
()
components/bricks/brick-code-editor.tsx:71
↓ 1 callers
Function
makeRootPath
(path: string)
components/shared/SearchProvider.tsx:13
↓ 1 callers
Function
movePoints
(time: number)
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:239
↓ 1 callers
Method
perlin2
(x: number, y: number)
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:88
↓ 1 callers
Function
pickColorTheme
( theme: (typeof complementaryColorThemes)[0], index: number, )
components/bricks/theme/theme-selector.tsx:81
↓ 1 callers
Function
postbuild
()
website/scripts/postbuild.mjs:3
↓ 1 callers
Function
reducer
(state: State, action: Action)
components/shared/ui/use-toast.ts:75
↓ 1 callers
Function
renderContent
()
components/landing/pricing-comparison/LandingPriceComparisonItem.tsx:63
↓ 1 callers
Function
renderGraphic
()
components/landing/social-proof/LandingSocialProofBandItem.tsx:50
↓ 1 callers
Function
renderGridItems
()
components/landing/problem-agitator/LandingProblemAgitator.tsx:76
↓ 1 callers
Function
renderIcon
()
components/landing/pricing-comparison/LandingPriceComparisonItem.tsx:31
↓ 1 callers
Function
rss
()
website/scripts/rss.mjs:67
↓ 1 callers
Method
seed
(seed: number)
components/landing/cta-backgrounds/LandingWavesCtaBg.tsx:68
↓ 1 callers
Function
trigger
()
components/blog/StepCode.tsx:18
↓ 1 callers
Method
update
()
components/landing/cta-backgrounds/LandingDotParticleCtaBg.tsx:70
↓ 1 callers
Method
update
()
components/landing/cta-backgrounds/LandingFlyingParticleCtaBg.tsx:122
↓ 1 callers
Function
updateRepeatCount
()
components/landing/LandingMarquee.tsx:31
↓ 1 callers
Function
useIsOverflowing
({ ref, callback, }: { ref: React.MutableRefObject<any>; // eslint-disable-line @typescript-eslint/no-ex
components/blog/StepCode.tsx:6
↓ 1 callers
Function
useRestoreScrollPosition
({ elementId, }: { elementId: string; })
website/lib/useRestoreScroll.ts:7
↓ 1 callers
Function
useToast
()
components/shared/ui/use-toast.ts:172
↓ 1 callers
Function
useTocHeadObserver
()
components/blog/useTocHeadObserver.ts:3
Function
AccordionDemo
()
website/demo/basic-examples/accordion-demo.tsx:8
Function
ActiveLink
({ children, activeClassName, activeChildren, alwaysShowChildren = false, exact = true, ...props }
components/shared/ActiveLink.tsx:16
next →
1–100 of 517, ranked by callers