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
  ec4f0118_dc5d_dd03_eade_dda834d3d354["input-group-with-kbd.tsx"]
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  ec4f0118_dc5d_dd03_eade_dda834d3d354 --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  9af00736_7b63_3c3c_87d0_68c5200c5d80["input"]
  ec4f0118_dc5d_dd03_eade_dda834d3d354 --> 9af00736_7b63_3c3c_87d0_68c5200c5d80
  d4ae1ebd_39ec_2b17_5c84_fbca1aec26c7["input-group"]
  ec4f0118_dc5d_dd03_eade_dda834d3d354 --> d4ae1ebd_39ec_2b17_5c84_fbca1aec26c7
  55af24b0_c558_66f9_ada9_d25ec6a5fe81["kbd"]
  ec4f0118_dc5d_dd03_eade_dda834d3d354 --> 55af24b0_c558_66f9_ada9_d25ec6a5fe81
  fd576ad1_ee20_f12f_25d1_e5dbd2606185["spinner"]
  ec4f0118_dc5d_dd03_eade_dda834d3d354 --> fd576ad1_ee20_f12f_25d1_e5dbd2606185
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  ec4f0118_dc5d_dd03_eade_dda834d3d354 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style ec4f0118_dc5d_dd03_eade_dda834d3d354 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Field,
  FieldDescription,
  FieldGroup,
  FieldLabel,
} from "@/examples/radix/ui/field"
import { Input } from "@/examples/radix/ui/input"
import {
  InputGroup,
  InputGroupAddon,
  InputGroupInput,
} from "@/examples/radix/ui/input-group"
import { Kbd, KbdGroup } from "@/examples/radix/ui/kbd"
import { Spinner } from "@/examples/radix/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/radix/input-group-with-kbd.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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