mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 06:34:12 +00:00
* feat(www): add login blocks * chore(www): restructure for blocks * chore: build registry * chore: clean up chunks * fix(www): chart categories * feat(www): big registry refactor * feat(www): update blocks * feat: complex blocks * fix: update schema * feat: sync new-york and default * fix: lint * feat: move charts * fix(www): code * fix: src path * chore: rebuild registry * fix: screenshot * fix: set new-york as default
12 lines
341 B
TypeScript
12 lines
341 B
TypeScript
import { Button } from "@/registry/default/ui/button"
|
|
import { Input } from "@/registry/default/ui/input"
|
|
|
|
export default function InputWithButton() {
|
|
return (
|
|
<div className="flex w-full max-w-sm items-center space-x-2">
|
|
<Input type="email" placeholder="Email" />
|
|
<Button type="submit">Subscribe</Button>
|
|
</div>
|
|
)
|
|
}
|