snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
13
apps/v4/registry/new-york-v4/examples/input-with-button.tsx
Normal file
13
apps/v4/registry/new-york-v4/examples/input-with-button.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Button } from "@/registry/new-york-v4/ui/button"
|
||||
import { Input } from "@/registry/new-york-v4/ui/input"
|
||||
|
||||
export default function InputWithButton() {
|
||||
return (
|
||||
<div className="flex w-full max-w-sm items-center gap-2">
|
||||
<Input type="email" placeholder="Email" />
|
||||
<Button type="submit" variant="outline">
|
||||
Subscribe
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user