Home / File/ input-group-with-kbd.tsx — ui Source File

input-group-with-kbd.tsx — ui Source File

Architecture documentation for input-group-with-kbd.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 6 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  803f5767_edfb_edbb_cdf2_73b7745c6fe3["input-group-with-kbd.tsx"]
  e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"]
  803f5767_edfb_edbb_cdf2_73b7745c6fe3 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2
  9a309fc5_4306_d01f_08ce_72db23e48652["input"]
  803f5767_edfb_edbb_cdf2_73b7745c6fe3 --> 9a309fc5_4306_d01f_08ce_72db23e48652
  4a37d855_5768_bc5a_31ae_9f42eba9091a["input-group"]
  803f5767_edfb_edbb_cdf2_73b7745c6fe3 --> 4a37d855_5768_bc5a_31ae_9f42eba9091a
  ae5a6afc_57d5_4436_3322_5fed56d10477["kbd"]
  803f5767_edfb_edbb_cdf2_73b7745c6fe3 --> ae5a6afc_57d5_4436_3322_5fed56d10477
  5da53097_7aa6_9ed0_215a_95e7f853f3a4["spinner"]
  803f5767_edfb_edbb_cdf2_73b7745c6fe3 --> 5da53097_7aa6_9ed0_215a_95e7f853f3a4
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  803f5767_edfb_edbb_cdf2_73b7745c6fe3 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 803f5767_edfb_edbb_cdf2_73b7745c6fe3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Field,
  FieldDescription,
  FieldGroup,
  FieldLabel,
} from "@/examples/base/ui/field"
import { Input } from "@/examples/base/ui/input"
import {
  InputGroup,
  InputGroupAddon,
  InputGroupInput,
} from "@/examples/base/ui/input-group"
import { Kbd, KbdGroup } from "@/examples/base/ui/kbd"
import { Spinner } from "@/examples/base/ui/spinner"
import { CheckIcon, InfoIcon, SearchIcon, SparklesIcon } from "lucide-react"

export function InputGroupWithKbd() {
  return (
    <FieldGroup>
      <Field>
        <FieldLabel htmlFor="input-kbd-22">Input Group with Kbd</FieldLabel>
        <InputGroup>
          <InputGroupInput id="input-kbd-22" />
          <InputGroupAddon>
            <Kbd>⌘K</Kbd>
          </InputGroupAddon>
        </InputGroup>
        <InputGroup>
          <InputGroupInput id="input-kbd-23" />
          <InputGroupAddon align="inline-end">
            <Kbd>⌘K</Kbd>
          </InputGroupAddon>
        </InputGroup>
        <InputGroup>
          <InputGroupInput
            id="input-search-apps-24"
            placeholder="Search for Apps..."
          />
          <InputGroupAddon align="inline-end">Ask AI</InputGroupAddon>
          <InputGroupAddon align="inline-end">
            <Kbd>Tab</Kbd>
          </InputGroupAddon>
        </InputGroup>
        <InputGroup>
          <InputGroupInput
            id="input-search-type-25"
            placeholder="Type to search..."
          />
          <InputGroupAddon align="inline-start">
            <SparklesIcon />
          </InputGroupAddon>
          <InputGroupAddon align="inline-end">
            <KbdGroup>
              <Kbd>Ctrl</Kbd>
              <Kbd>C</Kbd>
            </KbdGroup>
          </InputGroupAddon>
        </InputGroup>
      </Field>
      <Field>
// ... (72 more lines)

Subdomains

Dependencies

  • field
  • input
  • input-group
  • kbd
  • lucide-react
  • spinner

Frequently Asked Questions

What does input-group-with-kbd.tsx do?
input-group-with-kbd.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in input-group-with-kbd.tsx?
input-group-with-kbd.tsx defines 1 function(s): InputGroupWithKbd.
What does input-group-with-kbd.tsx depend on?
input-group-with-kbd.tsx imports 6 module(s): field, input, input-group, kbd, lucide-react, spinner.
Where is input-group-with-kbd.tsx in the architecture?
input-group-with-kbd.tsx is located at apps/v4/examples/base/input-group-with-kbd.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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