Home / File/ input-with-button.json — ui Source File

input-with-button.json — ui Source File

Architecture documentation for input-with-button.json, a json file in the ui codebase.

Entity Profile

Source Code

{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "input-with-button",
  "registryDependencies": [
    "input",
    "button"
  ],
  "files": [
    {
      "path": "registry/new-york-v4/examples/input-with-button.tsx",
      "content": "import { Button } from \"@/registry/new-york-v4/ui/button\"\nimport { Input } from \"@/registry/new-york-v4/ui/input\"\n\nexport default function InputWithButton() {\n  return (\n    <div className=\"flex w-full max-w-sm items-center gap-2\">\n      <Input type=\"email\" placeholder=\"Email\" />\n      <Button type=\"submit\" variant=\"outline\">\n        Subscribe\n      </Button>\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}

Frequently Asked Questions

What does input-with-button.json do?
input-with-button.json is a source file in the ui codebase, written in json.
Where is input-with-button.json in the architecture?
input-with-button.json is located at apps/v4/public/r/styles/new-york-v4/input-with-button.json (directory: apps/v4/public/r/styles/new-york-v4).

Analyze Your Own Codebase

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

Try Supermodel Free