MCPcopy Create free account

hub / github.com/chambaz/solanaui / functions

Functions202 in github.com/chambaz/solanaui

↓ 129 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 7 callersFunctioncompareValues
(a: string, b: string)
src/registry/lib/sort-utils.ts:14
↓ 4 callersFunctionformatSize
(value: number)
src/registry/sol/order-book.tsx:15
↓ 3 callersFunctiondoHighlight
()
src/components/builder/code-display.tsx:81
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string, )
src/components/ui/chart.tsx:312
↓ 3 callersFunctionisNegative
(value: string)
src/registry/sol/wallet-sheet.tsx:51
↓ 3 callersFunctiontransformSource
* Rewrite @/ aliases to / and strip "use client" directives.
scripts/generate-preview-files.mjs:23
↓ 3 callersFunctiontxnToast
(props: TxnToastProps)
src/registry/sol/txn-toast.tsx:89
↓ 2 callersFunctionbaseOptions
()
src/lib/layout.shared.tsx:3
↓ 2 callersFunctiongetPageImage
(page: InferPageType<typeof source>)
src/lib/source.ts:12
↓ 2 callersFunctionhandleQuickAmount
(fraction: number)
src/registry/sol/token-input.tsx:40
↓ 2 callersFunctionhandleSort
(key: string)
src/registry/sol/pool-table.tsx:42
↓ 2 callersFunctionhandleValueChange
(newValue: number[])
src/registry/sol/leverage-slider.tsx:33
↓ 2 callersFunctionisNumericString
(value: string)
src/registry/lib/sort-utils.ts:9
↓ 2 callersFunctionisNumericString
(value: string)
src/lib/sort-utils.ts:9
↓ 2 callersFunctionparseNumericValue
(value: string)
src/registry/lib/sort-utils.ts:3
↓ 2 callersFunctionparseNumericValue
(value: string)
src/lib/sort-utils.ts:3
↓ 2 callersFunctionreadDir
(dir, prefix)
scripts/generate-preview-files.mjs:30
↓ 2 callersFunctionrenderToast
(props: TxnToastProps, toastId: string | number)
src/registry/sol/txn-toast.tsx:43
↓ 2 callersFunctionstripFences
* Strips markdown code fences from LLM output. * During streaming the closing fence may not exist yet, so we * handle partial fences (opening only)
src/components/builder/ai-builder.tsx:19
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:27
↓ 1 callersFunctionbuildSandboxHtml
* Build the sandbox HTML template. The `isDark` flag controls * whether the dark class is applied to <html> and <body>.
src/components/builder/preview-pane.tsx:91
↓ 1 callersFunctionbuildStylesCss
* Build the sandbox styles.css with both light and dark theme variables.
src/components/builder/preview-pane.tsx:172
↓ 1 callersFunctionbuildSystemPrompt
()
src/lib/builder/builder-prompt.ts:842
↓ 1 callersFunctionbuildTailwindSetup
* Build the tailwind-setup.ts file that configures the Tailwind CDN * and sets the dark class based on the parent theme.
src/components/builder/preview-pane.tsx:268
↓ 1 callersFunctioncheckCredits
(ip: string)
src/app/api/builder/route.ts:24
↓ 1 callersFunctionformatAddress
( address: string, truncate: boolean, chars: [number, number], )
src/registry/sol/address-display.tsx:16
↓ 1 callersFunctiongenerateChartData
( days: number, startPrice: number, endPrice: number, )
src/app/(home)/examples/perps/page.tsx:48
↓ 1 callersFunctiongetClientIp
(req: Request)
src/app/api/builder/route.ts:8
↓ 1 callersFunctiongetHealthColor
(value: number)
src/registry/sol/health-bar.tsx:10
↓ 1 callersFunctiongetHighlighter
()
src/components/builder/code-display.tsx:16
↓ 1 callersFunctiongetMDXComponents
(components?: MDXComponents)
src/mdx-components.tsx:7
↓ 1 callersFunctionhandleSlPercentChange
(value: string)
src/registry/sol/order-form.tsx:85
↓ 1 callersFunctionhandleSlPriceChange
(value: string)
src/registry/sol/order-form.tsx:73
↓ 1 callersFunctionhandleSubmit
()
src/components/builder/prompt-input.tsx:31
↓ 1 callersFunctionhandleSuggestion
(prompt: string)
src/components/builder/prompt-input.tsx:44
↓ 1 callersFunctionhandleTpPercentChange
(value: string)
src/registry/sol/order-form.tsx:61
↓ 1 callersFunctionhandleTpPriceChange
(value: string)
src/registry/sol/order-form.tsx:49
↓ 1 callersFunctionhighlightCode
* Highlight a code string with shiki dual-theme mode. * Returns HTML with CSS variables for both light and dark themes.
src/components/builder/code-display.tsx:30
↓ 1 callersFunctionisBypassedIp
(ip: string)
src/app/api/builder/route.ts:14
↓ 1 callersFunctionparseImports
(code: string)
src/lib/builder/parse-imports.ts:12
↓ 1 callersFunctiontransformForSandpack
* Rewrite @/ import aliases to / so Sandpack can resolve them * from the virtual file system. Strip "use client" directives. * Maps consumer paths (
src/components/builder/preview-pane.tsx:20
↓ 1 callersFunctiontruncateAddress
(address: string)
src/registry/sol/wallet-sheet.tsx:46
↓ 1 callersFunctiontruncateSignature
(sig: string)
src/registry/sol/txn-toast.tsx:38
↓ 1 callersFunctiontruncateSignature
(sig: string)
src/registry/sol/txn-table.tsx:29
FunctionAIBuilder
({ className }: AIBuilderProps)
src/components/builder/ai-builder.tsx:37
FunctionActionBox
({ tokens, defaultToken, balance, label, details, submitLabel = "Submit", onSubmit, className,
src/registry/sol/action-box.tsx:20
FunctionActionBoxDialogInline
({ trigger, label, tokens, defaultToken, balance, details, submitLabel, }: { trigger: React.Re
src/app/(home)/examples/lending/page.tsx:113
FunctionActivityFeed
({ items, className }: ActivityFeedProps)
src/registry/sol/activity-feed.tsx:16
FunctionAddressDisplay
({ address, truncate = true, truncateChars = [4, 4], copyable = true, explorerUrl, className, }: A
src/registry/sol/address-display.tsx:25
FunctionAppleIcon
()
src/registry/sol/auth-card.tsx:47
FunctionAuthCard
({ title = "Sign in", description = "Connect your wallet or sign in below.", showEmail = true, socialP
src/registry/sol/auth-card.tsx:113
FunctionBackpackIcon
()
src/registry/sol/auth-card.tsx:71
FunctionBadge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<type
src/components/ui/badge.tsx:28
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
src/components/ui/button.tsx:39
FunctionCard
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:5
FunctionCardAction
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:51
FunctionCardContent
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:64
FunctionCardDescription
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:41
FunctionCardFooter
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:74
FunctionCardHeader
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:18
FunctionCardTitle
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/card.tsx:31
FunctionChartContainer
({ id, className, children, config, ...props }: React.ComponentProps<"div"> & { config: ChartConfi
src/components/ui/chart.tsx:37
FunctionChartLegendContent
({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey, }: React.ComponentProps<
src/components/ui/chart.tsx:255
FunctionChartStyle
({ id, config }: { id: string; config: ChartConfig })
src/components/ui/chart.tsx:72
FunctionChartTooltipContent
({ active, payload, className, indicator = "dot", hideLabel = false, hideIndicator = false, labe
src/components/ui/chart.tsx:107
FunctionCodeDisplay
({ code, isStreaming, className }: CodeDisplayProps)
src/components/builder/code-display.tsx:60
FunctionCollapsible
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>)
src/components/ui/collapsible.tsx:5
FunctionCollapsibleContent
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>)
src/components/ui/collapsible.tsx:22
FunctionCollapsibleTrigger
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>)
src/components/ui/collapsible.tsx:11
FunctionCommand
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>)
src/components/ui/command.tsx:15
FunctionCommandDialog
({ title = "Command Palette", description = "Search for a command to run...", children, className, s
src/components/ui/command.tsx:31
FunctionCommandEmpty
({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>)
src/components/ui/command.tsx:100
FunctionCommandGroup
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>)
src/components/ui/command.tsx:112
FunctionCommandInput
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>)
src/components/ui/command.tsx:62
FunctionCommandItem
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>)
src/components/ui/command.tsx:141
FunctionCommandList
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>)
src/components/ui/command.tsx:84
FunctionCommandSeparator
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>)
src/components/ui/command.tsx:128
FunctionCommandShortcut
({ className, ...props }: React.ComponentProps<"span">)
src/components/ui/command.tsx:157
FunctionComponentCode
({ name }: ComponentCodeProps)
src/components/docs/component-code.tsx:9
FunctionComponentDemo
({ children }: { children: React.ReactNode })
src/components/docs/component-demo.tsx:1
FunctionDialog
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>)
src/components/ui/dialog.tsx:9
FunctionDialogClose
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>)
src/components/ui/dialog.tsx:27
FunctionDialogContent
({ className, children, showCloseButton = true, ...props }: React.ComponentProps<typeof DialogPrimitiv
src/components/ui/dialog.tsx:49
FunctionDialogDescription
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>)
src/components/ui/dialog.tsx:119
FunctionDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/dialog.tsx:93
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/dialog.tsx:83
FunctionDialogOverlay
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>)
src/components/ui/dialog.tsx:33
FunctionDialogPortal
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>)
src/components/ui/dialog.tsx:21
FunctionDialogTitle
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>)
src/components/ui/dialog.tsx:106
FunctionDialogTrigger
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>)
src/components/ui/dialog.tsx:15
FunctionField
({ className, orientation = "vertical", ...props }: React.ComponentProps<"div"> & VariantProps<typeof fi
src/components/ui/field.tsx:80
FunctionFieldContent
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/field.tsx:96
FunctionFieldDescription
({ className, ...props }: React.ComponentProps<"p">)
src/components/ui/field.tsx:140
FunctionFieldError
({ className, children, errors, ...props }: React.ComponentProps<"div"> & { errors?: Array<{ message
src/components/ui/field.tsx:185
FunctionFieldGroup
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/field.tsx:43
FunctionFieldLabel
({ className, ...props }: React.ComponentProps<typeof Label>)
src/components/ui/field.tsx:109
FunctionFieldLegend
({ className, variant = "legend", ...props }: React.ComponentProps<"legend"> & { variant?: "legend" | "l
src/components/ui/field.tsx:23
FunctionFieldSeparator
({ children, className, ...props }: React.ComponentProps<"div"> & { children?: React.ReactNode; })
src/components/ui/field.tsx:155
FunctionFieldSet
({ className, ...props }: React.ComponentProps<"fieldset">)
src/components/ui/field.tsx:9
next →1–100 of 202, ranked by callers