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
  e42ba64e_bfb8_54dc_8d59_874e7dfacea7["command-scrollable.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  e42ba64e_bfb8_54dc_8d59_874e7dfacea7 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  e42ba64e_bfb8_54dc_8d59_874e7dfacea7 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  5b9f2eec_ad84_d016_9f6b_98f3e6ee2b1a["command"]
  e42ba64e_bfb8_54dc_8d59_874e7dfacea7 --> 5b9f2eec_ad84_d016_9f6b_98f3e6ee2b1a
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  e42ba64e_bfb8_54dc_8d59_874e7dfacea7 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style e42ba64e_bfb8_54dc_8d59_874e7dfacea7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { Button } from "@/examples/base/ui/button"
import {
  Command,
  CommandDialog,
  CommandEmpty,
  CommandGroup,
  CommandInput,
  CommandItem,
  CommandList,
  CommandSeparator,
  CommandShortcut,
} from "@/examples/base/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/base/command-scrollable.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free