MCPcopy Create free account

hub / github.com/Ali-Hussein-dev/formcn / functions

Functions452 in github.com/Ali-Hussein-dev/formcn

↓ 273 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 53 callersFunctiongetAttribute
(attr: attributes, value?: boolean | string | number)
src/form-builder/lib/generate-form-component.ts:26
↓ 16 callersFunctiongetDescription
(description?: string)
src/form-builder/lib/generate-form-component.ts:8
↓ 15 callersFunctiongetFieldLabel
(name: string, label?: string, required?: boolean)
src/form-builder/lib/generate-form-component.ts:3
↓ 9 callersFunctionhasAttribute
({ fieldType, attribute, }: { fieldType: FormElement["fieldType"]; attribute: attribute; })
src/form-builder/lib/has-attribute.ts:92
↓ 6 callersFunctionflattenFormSteps
(array: FormStep[])
src/form-builder/lib/form-elements-helpers.ts:47
↓ 5 callersFunctiondropAtIndex
(array: T[], index: number)
src/form-builder/lib/form-elements-helpers.ts:10
↓ 5 callersFunctiononChange
()
src/hooks/use-mobile.ts:10
↓ 5 callersFunctionuseMultiStepForm
()
src/hooks/use-multi-step-viewer.tsx:109
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:35
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string, )
src/components/ui/chart.tsx:311
↓ 3 callersFunctiongetTransitionProps
(isLayoutTransitioning: boolean)
src/form-builder/components/edit/form-edit.tsx:84
↓ 3 callersFunctionuseMultiSelectContext
()
src/components/ui/multi-select.tsx:332
↓ 2 callersFunctionflattenFormElementOrList
( elements: FormElementOrList[], )
src/form-builder/lib/form-elements-helpers.ts:73
↓ 2 callersFunctiongenFormZodSchema
( formElements: FormElement[] )
src/form-builder/lib/generate-zod-schema.ts:8
↓ 2 callersFunctiongetFormElementCode
(field: FormElement)
src/form-builder/lib/generate-form-component.ts:47
↓ 2 callersFunctionisStatic
(fieldType: string)
src/form-builder/lib/utils.ts:5
↓ 2 callersFunctionrenderFields
(fields: FormElementOrList[])
src/form-builder/lib/generate-form-code.ts:11
↓ 2 callersFunctionsetQueryState
(id: string)
src/form-builder/components/local-forms-sidebar.tsx:24
↓ 2 callersFunctiontoggleValue
(value: string)
src/components/ui/multi-select.tsx:60
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:27
↓ 2 callersFunctionuseFormIdFromRoute
()
src/form-builder/hooks/use-form-id-from-route.ts:9
↓ 2 callersFunctionuseLayoutTracker
()
src/form-builder/components/edit/form-edit.tsx:91
↓ 2 callersFunctionusePreviewForm
()
src/form-builder/hooks/use-preview-form.tsx:11
↓ 2 callersFunctionuseStepItem
()
src/components/ui/stepper.tsx:38
↓ 2 callersFunctionuseStepper
()
src/components/ui/stepper.tsx:30
↓ 1 callersFunctionclose
()
src/form-builder/components/edit/field-edit.tsx:833
↓ 1 callersFunctionconvertToKababCase
(str: string)
src/lib/utils.ts:7
↓ 1 callersFunctioncreateSafeContext
(errorMessage: string)
src/form-builder/lib/create-safe-context.tsx:3
↓ 1 callersFunctiondeleteOption
(index: number)
src/form-builder/components/edit/field-edit.tsx:187
↓ 1 callersFunctionformatBytes
(bytes: number, decimals = 2)
src/form-builder/hooks/use-file-upload.tsx:350
↓ 1 callersFunctionformatCode
(code: string)
src/form-builder/lib/utils.ts:9
↓ 1 callersFunctiongenFieldZodSchemaCode
(formElement: FormElement)
src/form-builder/lib/generate-zod-schema.ts:159
↓ 1 callersFunctiongenFormZodSchemaCode
(formElements: FormElement[])
src/form-builder/lib/generate-zod-schema.ts:291
↓ 1 callersFunctiongenerateFormCode
({ formElements, isMS, }: { formElements: FormElementOrList[] | FormStep[]; isMS: boolean; })
src/form-builder/lib/generate-form-code.ts:25
↓ 1 callersFunctiongenerateImports
( formElements: FormElement[], { isMS = false }: { isMS?: boolean } = { isMS: false } )
src/form-builder/lib/generate-imports.ts:3
↓ 1 callersFunctiongetFileIcon
(file: { file: File | { type: string; name: string } })
src/components/form-fields/file-upload.tsx:10
↓ 1 callersFunctiongetNewSet
(prev: Set<string>)
src/components/ui/multi-select.tsx:61
↓ 1 callersFunctiongoToFirstStep
()
src/form-builder/hooks/use-multi-step-form.tsx:58
↓ 1 callersFunctiongoToNext
()
src/hooks/use-multi-step-viewer.tsx:48
↓ 1 callersFunctiongoToPrevious
()
src/hooks/use-multi-step-viewer.tsx:63
↓ 1 callersFunctionhandleEdit
()
src/form-builder/components/my-forms.tsx:74
↓ 1 callersFunctionhandleGenerate
()
src/form-builder/components/ai/ai-form-generator.tsx:130
↓ 1 callersFunctionhandleSave
()
src/form-builder/components/new-form.tsx:30
↓ 1 callersFunctionhasNestedArray
(value: unknown)
src/form-builder/lib/form-elements-helpers.ts:58
↓ 1 callersFunctionhighlight
()
src/components/ui/code-block.tsx:64
↓ 1 callersFunctioninsertAtIndex
(list: T[], element: T, index: number)
src/form-builder/lib/form-elements-helpers.ts:23
↓ 1 callersFunctionstartEdit
(index: number)
src/form-builder/components/edit/field-edit.tsx:193
↓ 1 callersFunctionstringifyStepComponents
(steps: FormStep[])
src/form-builder/lib/generate-form-code.ts:124
↓ 1 callersFunctiontransformToStepFormList
(formElementList: FormElementList)
src/form-builder/lib/form-elements-helpers.ts:54
↓ 1 callersFunctionupdateTheme
()
src/components/ui/code-block.tsx:45
↓ 1 callersFunctionupdateTheme
()
src/components/ui/sonner.tsx:19
↓ 1 callersFunctionuseAiFormGenerator
()
src/form-builder/components/ai/ai-form-generator.tsx:115
↓ 1 callersFunctionuseFileUpload
( options: FileUploadOptions = {}, )
src/form-builder/hooks/use-file-upload.tsx:61
↓ 1 callersFunctionuseGenerateCode
()
src/form-builder/components/generated-code/code-panel.tsx:212
↓ 1 callersFunctionuseIsMobile
()
src/hooks/use-mobile.ts:5
↓ 1 callersFunctionuseMigrateLocalForms
()
src/form-builder/components/my-forms.tsx:124
↓ 1 callersFunctionuseMultiStepForm
({ initialSteps, onStepValidation, }: UseFormStepsProps)
src/form-builder/hooks/use-multi-step-form.tsx:31
↓ 1 callersFunctionuseRating
()
src/components/ui/rating.tsx:34
↓ 1 callersFunctionuseSelectedForm
()
src/form-builder/components/my-forms.tsx:141
↓ 1 callersFunctionuseThemeMode
()
src/components/mode-toggle.tsx:6
FunctionAccordion
({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>)
src/components/ui/accordion.tsx:6
FunctionAccordionContent
({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>)
src/components/ui/accordion.tsx:61
FunctionAccordionItem
({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>)
src/components/ui/accordion.tsx:19
FunctionAccordionTrigger
({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>)
src/components/ui/accordion.tsx:32
FunctionAiFormGenerator
()
src/form-builder/components/ai/ai-form-generator.tsx:219
FunctionAlert
({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>)
src/components/ui/alert.tsx:22
FunctionAlertAction
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/alert.tsx:66
FunctionAlertDescription
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/alert.tsx:50
FunctionAlertDialog
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>)
src/components/ui/alert-dialog.tsx:8
FunctionAlertDialogAction
({ className, variant = 'default', size = 'default', ...props }: React.ComponentProps<typeof AlertDialogPr
src/components/ui/alert-dialog.tsx:149
FunctionAlertDialogCancel
({ className, variant = 'outline', size = 'default', ...props }: React.ComponentProps<typeof AlertDialogPr
src/components/ui/alert-dialog.tsx:167
FunctionAlertDialogContent
({ className, size = 'default', ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {
src/components/ui/alert-dialog.tsx:46
FunctionAlertDialogDescription
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>)
src/components/ui/alert-dialog.tsx:133
FunctionAlertDialogFooter
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/alert-dialog.tsx:85
FunctionAlertDialogHeader
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/alert-dialog.tsx:69
FunctionAlertDialogMedia
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/alert-dialog.tsx:101
FunctionAlertDialogOverlay
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>)
src/components/ui/alert-dialog.tsx:30
FunctionAlertDialogPortal
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>)
src/components/ui/alert-dialog.tsx:22
FunctionAlertDialogTitle
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>)
src/components/ui/alert-dialog.tsx:117
FunctionAlertDialogTrigger
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>)
src/components/ui/alert-dialog.tsx:14
FunctionAlertTitle
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/alert.tsx:37
FunctionApp
()
src/routes/index.tsx:107
FunctionAspectRatio
({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>)
src/components/ui/aspect-ratio.tsx:5
FunctionAvatar
({ className, size = 'default', ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & { size?: '
src/components/ui/avatar.tsx:6
FunctionAvatarBadge
({ className, ...props }: React.ComponentProps<'span'>)
src/components/ui/avatar.tsx:58
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
src/components/ui/avatar.tsx:42
FunctionAvatarGroup
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/avatar.tsx:74
FunctionAvatarGroupCount
({ className, ...props }: React.ComponentProps<'div'>)
src/components/ui/avatar.tsx:87
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
src/components/ui/avatar.tsx:26
FunctionBadge
({ className, variant = 'default', asChild = false, ...props }: React.ComponentProps<'span'> & VariantPro
src/components/ui/badge.tsx:30
FunctionBreadcrumb
({ className, ...props }: React.ComponentProps<'nav'>)
src/components/ui/breadcrumb.tsx:7
FunctionBreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<'span'>)
src/components/ui/breadcrumb.tsx:90
FunctionBreadcrumbItem
({ className, ...props }: React.ComponentProps<'li'>)
src/components/ui/breadcrumb.tsx:31
FunctionBreadcrumbLink
({ asChild, className, ...props }: React.ComponentProps<'a'> & { asChild?: boolean })
src/components/ui/breadcrumb.tsx:41
FunctionBreadcrumbList
({ className, ...props }: React.ComponentProps<'ol'>)
src/components/ui/breadcrumb.tsx:18
FunctionBreadcrumbPage
({ className, ...props }: React.ComponentProps<'span'>)
src/components/ui/breadcrumb.tsx:59
FunctionBreadcrumbSeparator
({ children, className, ...props }: React.ComponentProps<'li'>)
src/components/ui/breadcrumb.tsx:72
FunctionButton
({ className, variant = 'default', size = 'default', asChild = false, ...props }: React.ComponentProps<'b
src/components/ui/button.tsx:42
FunctionButtonGroup
({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariant
src/components/ui/button-group.tsx:24
next →1–100 of 452, ranked by callers