Invitation & RSVP
An invitation with an opening envelope, the day's schedule, the venue and a working RSVP form.
Installation
npx shadcn@latest add @venusui/invitation-01Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Files added to your project
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/envelope.tsxfrom envelope@/components/invitation-01.tsx
Also adds the shadcn button, input components if your project doesn't have them yet.
Usage
The code behind the preview above.
invitation-01-demo.tsx
import { Invitation01 } from "@/components/invitation-01"
export default function Invitation01Demo() {
return <Invitation01 />
}
API reference
No props. Edit the schedule and copy in the file.
Requirements
- shadcn
buttonandinput, and VenusUIenvelope. The CLI installs them. - React 19 and Tailwind CSS v4.
Customization
- The form shows a thank-you message but doesn't send anything yet: post the
FormDatato your backend inonSubmit. - Guests and dietary fields appear only when the guest is attending.
Accessibility
- Every field has a visible label; the attend/decline choice is a fieldset of radios.
- The thank-you message is announced (
role="status").
Troubleshooting
- Something looks different from the preview.
- Blocks use your project’s theme and your own shadcn components, so they follow your styles.
Unknown registry "@venusui"- Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (
npx shadcn@latest), install by URL, or register it with its address:npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json. No components.json found- Run
npx shadcn@latest initin your project first.