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 6384363c_be61_8862_639f_4d8ae139f2b0["combobox-responsive.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 6384363c_be61_8862_639f_4d8ae139f2b0 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 5b9fe790_07fa_d673_2d62_394a21141145["use-media-query"] 6384363c_be61_8862_639f_4d8ae139f2b0 --> 5b9fe790_07fa_d673_2d62_394a21141145 d418ad18_b947_f4e5_6e4c_01100d7a63e4["button"] 6384363c_be61_8862_639f_4d8ae139f2b0 --> d418ad18_b947_f4e5_6e4c_01100d7a63e4 546c6954_c407_41fc_2cb8_f5db98d487e2["command"] 6384363c_be61_8862_639f_4d8ae139f2b0 --> 546c6954_c407_41fc_2cb8_f5db98d487e2 e03b2544_1b68_470f_14f0_dfbd84c9df9b["drawer"] 6384363c_be61_8862_639f_4d8ae139f2b0 --> e03b2544_1b68_470f_14f0_dfbd84c9df9b d1761ea6_65b9_f5fd_76e0_66663b00b300["popover"] 6384363c_be61_8862_639f_4d8ae139f2b0 --> d1761ea6_65b9_f5fd_76e0_66663b00b300 style 6384363c_be61_8862_639f_4d8ae139f2b0 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/default/ui/button"
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
} from "@/registry/default/ui/command"
import {
Drawer,
DrawerContent,
DrawerTrigger,
} from "@/registry/default/ui/drawer"
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/registry/default/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/default/examples/combobox-responsive.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free