Bulk invite field that tokenizes addresses into chips and flags invalid ones with a rose tint.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Form17 } from "@/components/beste/piece/form17";
<Form17
label="Invite by email"
emails={[
{
"address": "lara@beste.co",
"valid": true
},
{
"address": "nils@beste.co",
"valid": true
},
{
"address": "om@acme",
"valid": false
}
]}
placeholder="Separate with commas"
error="om@acme is missing the domain ending."
/>