team-switcher.tsx — ui Source File
Architecture documentation for team-switcher.tsx, a tsx file in the ui codebase. 11 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809["team-switcher.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81 9a088841_0fc9_5075_043e_b2a2a1f69fe2["avatar"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> 9a088841_0fc9_5075_043e_b2a2a1f69fe2 aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939 64c05bed_da32_06a4_3b53_12b3830eb50b["command"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> 64c05bed_da32_06a4_3b53_12b3830eb50b 4dc8bbf9_c114_4bfa_0f89_4ae4ccd0ae1e["dialog"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> 4dc8bbf9_c114_4bfa_0f89_4ae4ccd0ae1e 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107["input"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107 fa665cdb_5f79_b81a_95ab_12ba182fc175["label"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> fa665cdb_5f79_b81a_95ab_12ba182fc175 e33b0d79_0534_28ec_a112_ac16ee736e09["popover"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> e33b0d79_0534_28ec_a112_ac16ee736e09 d493776b_8734_5d8d_382d_0f77f309a72b["select"] 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 --> d493776b_8734_5d8d_382d_0f77f309a72b style 7a6caf0f_ae1e_c8fa_e539_e810ae3e1809 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Check, ChevronsUpDown, PlusCircle } from "lucide-react"
import { cn } from "@/lib/utils"
import {
Avatar,
AvatarFallback,
AvatarImage,
} from "@/registry/new-york/ui/avatar"
import { Button } from "@/registry/new-york/ui/button"
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
CommandSeparator,
} from "@/registry/new-york/ui/command"
import {
Dialog,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
} from "@/registry/new-york/ui/dialog"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/ui/label"
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/registry/new-york/ui/popover"
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/registry/new-york/ui/select"
const groups = [
{
label: "Personal Account",
teams: [
{
label: "Alicia Koch",
value: "personal",
},
],
},
{
label: "Teams",
teams: [
{
label: "Acme Inc.",
// ... (151 more lines)
Domain
Subdomains
Functions
Dependencies
- avatar
- button
- command
- dialog
- input
- label
- lucide-react
- popover
- react
- select
- utils
Source
Frequently Asked Questions
What does team-switcher.tsx do?
team-switcher.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in team-switcher.tsx?
team-switcher.tsx defines 1 function(s): TeamSwitcher.
What does team-switcher.tsx depend on?
team-switcher.tsx imports 11 module(s): avatar, button, command, dialog, input, label, lucide-react, popover, and 3 more.
Where is team-switcher.tsx in the architecture?
team-switcher.tsx is located at deprecated/www/app/(app)/examples/dashboard/components/team-switcher.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: deprecated/www/app/(app)/examples/dashboard/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free