shadcn-vue/apps/www/registry/new-york/example/InputWithButton.vue
2024-11-21 11:52:31 +08:00

14 lines
357 B
Vue

<script setup lang="ts">
import { Button } from '@/lib/registry/new-york/ui/button'
import { Input } from '@/lib/registry/new-york/ui/input'
</script>
<template>
<div class="flex w-full max-w-sm items-center gap-1.5">
<Input id="email" type="email" placeholder="Email" />
<Button type="submit">
Subscribe
</Button>
</div>
</template>