Componentmedia0.73 KB gzipZero dependencies

Rsvp Card

Invitation RSVP card with attending toggle and wax stamp.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add rsvp-card

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { RsvpCard } from "@/components/ui/rsvp-card"; <RsvpCard />

Source code

rsvp-card.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxrsvp-card.tsx60 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface RsvpCardProps extends Omit<React.HTMLAttributes<HTMLElement>, "onToggle"> {  eventTitle: string;  attending?: boolean;  onToggle?: (attending: boolean) => void;  className?: string;} export function RsvpCard({  eventTitle,  attending = false,  onToggle,  className, ...props}: RsvpCardProps) {

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { RsvpCard } from "@/components/ui/rsvp-card"; <RsvpCard />
PropTypeDescription
eventTitlestringConfigures event title.
attendingbooleanToggles attending. (Default: false)
onToggle(attending: boolean) => voidCallback invoked on toggle.
classNamestringOptional Tailwind or custom CSS classes merged with component styles.