combobox-responsive.tsx — ui Source File
Architecture documentation for combobox-responsive.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR dc4f6abf_500e_1862_0e74_bd59b9f074ad["combobox-responsive.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] dc4f6abf_500e_1862_0e74_bd59b9f074ad --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 5b9fe790_07fa_d673_2d62_394a21141145["use-media-query"] dc4f6abf_500e_1862_0e74_bd59b9f074ad --> 5b9fe790_07fa_d673_2d62_394a21141145 aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"] dc4f6abf_500e_1862_0e74_bd59b9f074ad --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939 64c05bed_da32_06a4_3b53_12b3830eb50b["command"] dc4f6abf_500e_1862_0e74_bd59b9f074ad --> 64c05bed_da32_06a4_3b53_12b3830eb50b 79b170ee_6170_9271_c7a0_b5527f29a7e1["drawer"] dc4f6abf_500e_1862_0e74_bd59b9f074ad --> 79b170ee_6170_9271_c7a0_b5527f29a7e1 e33b0d79_0534_28ec_a112_ac16ee736e09["popover"] dc4f6abf_500e_1862_0e74_bd59b9f074ad --> e33b0d79_0534_28ec_a112_ac16ee736e09 style dc4f6abf_500e_1862_0e74_bd59b9f074ad fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { useMediaQuery } from "@/hooks/use-media-query"
import { Button } from "@/registry/new-york/ui/button"
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
} from "@/registry/new-york/ui/command"
import {
Drawer,
DrawerContent,
DrawerTrigger,
} from "@/registry/new-york/ui/drawer"
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/registry/new-york/ui/popover"
type Status = {
value: string
label: string
}
const statuses: Status[] = [
{
value: "backlog",
label: "Backlog",
},
{
value: "todo",
label: "Todo",
},
{
value: "in progress",
label: "In Progress",
},
{
value: "done",
label: "Done",
},
{
value: "canceled",
label: "Canceled",
},
]
export default function ComboBoxResponsive() {
const [open, setOpen] = React.useState(false)
const isDesktop = useMediaQuery("(min-width: 768px)")
const [selectedStatus, setSelectedStatus] = React.useState<Status | null>(
null
)
// ... (64 more lines)
Domain
Subdomains
Functions
Types
Dependencies
- button
- command
- drawer
- popover
- react
- use-media-query
Source
Frequently Asked Questions
What does combobox-responsive.tsx do?
combobox-responsive.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in combobox-responsive.tsx?
combobox-responsive.tsx defines 2 function(s): ComboBoxResponsive, StatusList.
What does combobox-responsive.tsx depend on?
combobox-responsive.tsx imports 6 module(s): button, command, drawer, popover, react, use-media-query.
Where is combobox-responsive.tsx in the architecture?
combobox-responsive.tsx is located at deprecated/www/registry/new-york/examples/combobox-responsive.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free