Home / File/ input-badge.tsx — ui Source File

input-badge.tsx — ui Source File

Architecture documentation for input-badge.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  53d411d0_3890_9e79_e8bb_5d87088f6c88["input-badge.tsx"]
  9b75df2e_777a_32c5_f7c8_57d1bba676c7["badge"]
  53d411d0_3890_9e79_e8bb_5d87088f6c88 --> 9b75df2e_777a_32c5_f7c8_57d1bba676c7
  e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"]
  53d411d0_3890_9e79_e8bb_5d87088f6c88 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2
  9a309fc5_4306_d01f_08ce_72db23e48652["input"]
  53d411d0_3890_9e79_e8bb_5d87088f6c88 --> 9a309fc5_4306_d01f_08ce_72db23e48652
  style 53d411d0_3890_9e79_e8bb_5d87088f6c88 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Badge } from "@/examples/base/ui/badge"
import { Field, FieldLabel } from "@/examples/base/ui/field"
import { Input } from "@/examples/base/ui/input"

export function InputBadge() {
  return (
    <Field>
      <FieldLabel htmlFor="input-badge">
        Webhook URL{" "}
        <Badge variant="secondary" className="ml-auto">
          Beta
        </Badge>
      </FieldLabel>
      <Input
        id="input-badge"
        type="url"
        placeholder="https://api.example.com/webhook"
      />
    </Field>
  )
}

Subdomains

Functions

Dependencies

  • badge
  • field
  • input

Frequently Asked Questions

What does input-badge.tsx do?
input-badge.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 input-badge.tsx?
input-badge.tsx defines 1 function(s): InputBadge.
What does input-badge.tsx depend on?
input-badge.tsx imports 3 module(s): badge, field, input.
Where is input-badge.tsx in the architecture?
input-badge.tsx is located at apps/v4/examples/base/input-badge.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