Home / Function/ FinderPreferencesForm() — ui Function Reference

FinderPreferencesForm() — ui Function Reference

Architecture documentation for the FinderPreferencesForm() function in field-demo.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  a942c802_dc42_587e_c721_1ab6cf378139["FinderPreferencesForm()"]
  b9b36d9d_9701_6134_d4ee_41213e7f1788["field-demo.tsx"]
  a942c802_dc42_587e_c721_1ab6cf378139 -->|defined in| b9b36d9d_9701_6134_d4ee_41213e7f1788
  style a942c802_dc42_587e_c721_1ab6cf378139 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/app/(internal)/sink/components/field-demo.tsx lines 1322–1431

function FinderPreferencesForm() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Finder Preferences</CardTitle>
        <CardDescription>
          Configure what items appear on your desktop
        </CardDescription>
      </CardHeader>
      <CardContent>
        <form>
          <FieldGroup>
            <Field>
              <FieldLabel>Show these items on the desktop:</FieldLabel>
              <Field orientation="horizontal">
                <Checkbox id="finder-pref-9k2-hard-disks-ljj" />
                <FieldLabel
                  htmlFor="finder-pref-9k2-hard-disks-ljj"
                  className="font-normal"
                >
                  Hard disks
                </FieldLabel>
              </Field>
              <Field orientation="horizontal">
                <Checkbox id="finder-pref-9k2-external-disks-1yg" />
                <FieldLabel
                  htmlFor="finder-pref-9k2-external-disks-1yg"
                  className="font-normal"
                >
                  External disks
                </FieldLabel>
              </Field>
              <Field orientation="horizontal">
                <Checkbox id="finder-pref-9k2-cds-dvds-fzt" />
                <FieldLabel
                  htmlFor="finder-pref-9k2-cds-dvds-fzt"
                  className="font-normal"
                >
                  CDs, DVDs, and iPods
                </FieldLabel>
              </Field>
              <Field orientation="horizontal">
                <Checkbox id="finder-pref-9k2-connected-servers-6l2" />
                <FieldLabel
                  htmlFor="finder-pref-9k2-connected-servers-6l2"
                  className="font-normal"
                >
                  Connected servers
                </FieldLabel>
              </Field>
            </Field>
            <FieldSeparator />
            <Field>
              <FieldLabel>New Finder windows show:</FieldLabel>
              <Select defaultValue="home">
                <SelectTrigger id="finder-pref-9k2-new-window-zga">
                  <SelectValue placeholder="Select location" />
                </SelectTrigger>
                <SelectContent>
                  <SelectItem value="recents">
                    <ClockIcon />
                    Recents
                  </SelectItem>
                  <SelectItem value="home">
                    <FolderIcon />
                    shadcn
                  </SelectItem>
                  <SelectItem value="desktop">
                    <MonitorIcon /> Desktop
                  </SelectItem>
                  <SelectItem value="documents">
                    <FileTextIcon /> Documents
                  </SelectItem>
                  <SelectItem value="downloads">
                    <DownloadIcon /> Downloads
                  </SelectItem>
                </SelectContent>
              </Select>
              <InputGroup>
                <InputGroupInput placeholder="Select location" />
                <InputGroupAddon>

Subdomains

Frequently Asked Questions

What does FinderPreferencesForm() do?
FinderPreferencesForm() is a function in the ui codebase, defined in apps/v4/app/(internal)/sink/components/field-demo.tsx.
Where is FinderPreferencesForm() defined?
FinderPreferencesForm() is defined in apps/v4/app/(internal)/sink/components/field-demo.tsx at line 1322.

Analyze Your Own Codebase

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

Try Supermodel Free