Home / File/ example-form.tsx — ui Source File

example-form.tsx — ui Source File

Architecture documentation for example-form.tsx, a tsx file in the ui codebase. 17 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 17 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e["example-form.tsx"]
  62a8cba2_1dbd_c872_f153_9791a4429475["actions.ts"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 62a8cba2_1dbd_c872_f153_9791a4429475
  7d1bbf15_cfa8_1ccc_4c6a_d39814dedb15["subscriptionAction"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 7d1bbf15_cfa8_1ccc_4c6a_d39814dedb15
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  6a1c353b_fabd_c799_feac_192bf27b8541["form"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 6a1c353b_fabd_c799_feac_192bf27b8541
  6802ce19_522d_e5fb_e458_8826d9f6952e["zod"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 6802ce19_522d_e5fb_e458_8826d9f6952e
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 57e86e45_ac6e_7278_be08_9092724e8401
  c6d6139d_ea69_3d79_5004_68419bae2ac0["card"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> c6d6139d_ea69_3d79_5004_68419bae2ac0
  4f6bcac7_12b3_b724_9762_64ace071aa20["checkbox"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 4f6bcac7_12b3_b724_9762_64ace071aa20
  0896a8fa_5462_a73a_5add_fb8176921778["dialog"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 0896a8fa_5462_a73a_5add_fb8176921778
  169af77a_46c3_8fec_4801_f34a0f1a3471["field"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 169af77a_46c3_8fec_4801_f34a0f1a3471
  80cf663d_a411_487c_d69e_ac9d405cd2ec["input"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> 80cf663d_a411_487c_d69e_ac9d405cd2ec
  a3246e53_c55c_1cf0_424d_b2142e1739ab["radio-group"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> a3246e53_c55c_1cf0_424d_b2142e1739ab
  c2fa7225_1ddd_1cbc_8810_ee5e42af14d6["select"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> c2fa7225_1ddd_1cbc_8810_ee5e42af14d6
  fbc10cc4_98a7_35a6_e46c_d9966aba9ad2["spinner"]
  279f4d57_3c20_3ef1_88ba_f4b9142e9a0e --> fbc10cc4_98a7_35a6_e46c_d9966aba9ad2
  style 279f4d57_3c20_3ef1_88ba_f4b9142e9a0e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import Form from "next/form"
import { type z } from "zod"

import { Button } from "@/registry/new-york-v4/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/registry/new-york-v4/ui/card"
import { Checkbox } from "@/registry/new-york-v4/ui/checkbox"
import {
  Dialog,
  DialogContent,
  DialogDescription,
  DialogHeader,
  DialogTitle,
} from "@/registry/new-york-v4/ui/dialog"
import {
  Field,
  FieldContent,
  FieldDescription,
  FieldError,
  FieldGroup,
  FieldLabel,
  FieldLegend,
  FieldSeparator,
  FieldSet,
  FieldTitle,
} from "@/registry/new-york-v4/ui/field"
import { Input } from "@/registry/new-york-v4/ui/input"
import {
  RadioGroup,
  RadioGroupItem,
} from "@/registry/new-york-v4/ui/radio-group"
import {
  Select,
  SelectContent,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@/registry/new-york-v4/ui/select"
import { Spinner } from "@/registry/new-york-v4/ui/spinner"
import { Switch } from "@/registry/new-york-v4/ui/switch"
import { Textarea } from "@/registry/new-york-v4/ui/textarea"
import {
  addons,
  type exampleFormSchema,
} from "@/app/(internal)/sink/(pages)/schema"

import { subscriptionAction } from "./actions"

export type FormState = {
  values: z.infer<typeof exampleFormSchema>
  errors: null | Partial<
// ... (335 more lines)

Subdomains

Functions

Types

Dependencies

Frequently Asked Questions

What does example-form.tsx do?
example-form.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in example-form.tsx?
example-form.tsx defines 1 function(s): ExampleForm.
What does example-form.tsx depend on?
example-form.tsx imports 17 module(s): actions.ts, button, card, checkbox, dialog, field, form, input, and 9 more.
Where is example-form.tsx in the architecture?
example-form.tsx is located at apps/v4/app/(internal)/sink/(pages)/next-form/example-form.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/app/(internal)/sink/(pages)/next-form).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free