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

select-invalid.tsx — ui Source File

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

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

export function SelectInvalid() {
  return (
    <Field data-invalid className="w-full max-w-48">
      <FieldLabel>Fruit</FieldLabel>
      <Select>
        <SelectTrigger aria-invalid>
          <SelectValue placeholder="Select a fruit" />
        </SelectTrigger>
        <SelectContent>
          <SelectGroup>
            <SelectItem value="apple">Apple</SelectItem>
            <SelectItem value="banana">Banana</SelectItem>
            <SelectItem value="blueberry">Blueberry</SelectItem>
          </SelectGroup>
        </SelectContent>
      </Select>
      <FieldError>Please select a fruit.</FieldError>
    </Field>
  )
}

Subdomains

Functions

Dependencies

  • field
  • select

Frequently Asked Questions

What does select-invalid.tsx do?
select-invalid.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in select-invalid.tsx?
select-invalid.tsx defines 1 function(s): SelectInvalid.
What does select-invalid.tsx depend on?
select-invalid.tsx imports 2 module(s): field, select.
Where is select-invalid.tsx in the architecture?
select-invalid.tsx is located at apps/v4/examples/radix/select-invalid.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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