Home / File/ field-select.tsx — ui Source File

field-select.tsx — ui Source File

Architecture documentation for field-select.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  75910b8a_c8f5_e66d_f48a_bbd940be24e2["field-select.tsx"]
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  75910b8a_c8f5_e66d_f48a_bbd940be24e2 --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  d7940e38_2a13_bbd2_a77a_58753570dfd5["select"]
  75910b8a_c8f5_e66d_f48a_bbd940be24e2 --> d7940e38_2a13_bbd2_a77a_58753570dfd5
  style 75910b8a_c8f5_e66d_f48a_bbd940be24e2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Field, FieldDescription, FieldLabel } from "@/examples/radix/ui/field"
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@/examples/radix/ui/select"

export default function FieldSelect() {
  return (
    <Field className="w-full max-w-xs">
      <FieldLabel>Department</FieldLabel>
      <Select>
        <SelectTrigger>
          <SelectValue placeholder="Choose department" />
        </SelectTrigger>
        <SelectContent>
          <SelectGroup>
            <SelectItem value="engineering">Engineering</SelectItem>
            <SelectItem value="design">Design</SelectItem>
            <SelectItem value="marketing">Marketing</SelectItem>
            <SelectItem value="sales">Sales</SelectItem>
            <SelectItem value="support">Customer Support</SelectItem>
            <SelectItem value="hr">Human Resources</SelectItem>
            <SelectItem value="finance">Finance</SelectItem>
            <SelectItem value="operations">Operations</SelectItem>
          </SelectGroup>
        </SelectContent>
      </Select>
      <FieldDescription>
        Select your department or area of work.
      </FieldDescription>
    </Field>
  )
}

Subdomains

Functions

Dependencies

  • field
  • select

Frequently Asked Questions

What does field-select.tsx do?
field-select.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 field-select.tsx?
field-select.tsx defines 1 function(s): FieldSelect.
What does field-select.tsx depend on?
field-select.tsx imports 2 module(s): field, select.
Where is field-select.tsx in the architecture?
field-select.tsx is located at apps/v4/examples/radix/field-select.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free