Home / File/ command-scrollable.tsx — ui Source File

command-scrollable.tsx — ui Source File

Architecture documentation for command-scrollable.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f560022e_af94_cda8_9e29_d0f1a3689edf["command-scrollable.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  f560022e_af94_cda8_9e29_d0f1a3689edf --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  f560022e_af94_cda8_9e29_d0f1a3689edf --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  6bfe636e_b01e_60f8_51ec_ace45a509cd7["command"]
  f560022e_af94_cda8_9e29_d0f1a3689edf --> 6bfe636e_b01e_60f8_51ec_ace45a509cd7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  f560022e_af94_cda8_9e29_d0f1a3689edf --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style f560022e_af94_cda8_9e29_d0f1a3689edf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { Button } from "@/examples/radix/ui/button"
import {
  Command,
  CommandDialog,
  CommandEmpty,
  CommandGroup,
  CommandInput,
  CommandItem,
  CommandList,
  CommandSeparator,
  CommandShortcut,
} from "@/examples/radix/ui/command"
import {
  BellIcon,
  CalculatorIcon,
  CalendarIcon,
  ClipboardPasteIcon,
  CodeIcon,
  CopyIcon,
  CreditCardIcon,
  FileTextIcon,
  FolderIcon,
  FolderPlusIcon,
  HelpCircleIcon,
  HomeIcon,
  ImageIcon,
  InboxIcon,
  LayoutGridIcon,
  ListIcon,
  PlusIcon,
  ScissorsIcon,
  SettingsIcon,
  TrashIcon,
  UserIcon,
  ZoomInIcon,
  ZoomOutIcon,
} from "lucide-react"

export function CommandManyItems() {
  const [open, setOpen] = React.useState(false)

  return (
    <div className="flex flex-col gap-4">
      <Button onClick={() => setOpen(true)} variant="outline" className="w-fit">
        Open Menu
      </Button>
      <CommandDialog open={open} onOpenChange={setOpen}>
        <Command>
          <CommandInput placeholder="Type a command or search..." />
          <CommandList>
            <CommandEmpty>No results found.</CommandEmpty>
            <CommandGroup heading="Navigation">
              <CommandItem>
                <HomeIcon />
                <span>Home</span>
                <CommandShortcut>⌘H</CommandShortcut>
              </CommandItem>
// ... (122 more lines)

Subdomains

Functions

Dependencies

  • button
  • command
  • lucide-react
  • react

Frequently Asked Questions

What does command-scrollable.tsx do?
command-scrollable.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 command-scrollable.tsx?
command-scrollable.tsx defines 1 function(s): CommandManyItems.
What does command-scrollable.tsx depend on?
command-scrollable.tsx imports 4 module(s): button, command, lucide-react, react.
Where is command-scrollable.tsx in the architecture?
command-scrollable.tsx is located at apps/v4/examples/radix/command-scrollable.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