Events
Dress code as a palette with colour copying
A guest dress code as a palette: five large overlapping colour circles like dabs on a swatch card; a click copies the HEX, the circle hops and the caption turns to “copied”. To the right of the palette a short “better avoid” list on an accent panel, below it two looks: “her” and “him”.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- eyebrow, title, lede, swatches (name, hex), hint, copiedLabel
- looks (who, title, text), avoidTitle, avoidItems
- accent and background, tone
Built from
The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/event-009?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Event009
title="Warm neutrals — and something yours"
swatches={[
{ name: "Cream", hex: "#f1e8d8" },
{ name: "Sage", hex: "#8a9a7b" },
{ name: "Terracotta", hex: "#b8552f" },
{ name: "Plum", hex: "#4a1f36" },
]}
looks={[
{ who: "Her", title: "A dress, linen or silk", text: "Any length from the palette." },
{ who: "Him", title: "Shirt and trousers", text: "No tie, sneakers are fine." },
]}
avoidItems={["White — we leave that to the bride"]}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Title
title· default: Warm neutrals — and something yours- Theme
tone· default: auto- Accent
accent· default: theme colour- Background
background· default: theme colour
Used in scenarios
- Wedding invitationDress code
More in Events
- Three-day schedule as ticket tabs
- Travel info with a “what to pack” checklist
- “Beach formal” dress code with fabric swatches
- Evening schedule with a moon crawling across the sky on scroll
- “Velvet and wool” dress code with fabric swatch ribbons
- Foundation events as perforated tickets with a “hands needed” scale
FAQ
- How do I add Dress code as a palette with colour copying with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Dress code as a palette with colour copying depend on?
- No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-100.
- What can I change in Dress code as a palette with colour copying?
- Adapt: eyebrow, title, lede, swatches (name, hex), hint, copiedLabel; looks (who, title, text), avoidTitle, avoidItems; accent and background, tone. Keep as installed: the button-100 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the overlapping colour circles with a background-colour ring — a swatch card, not a table; HEX copying on click with the hop and the “copied” caption.
- Is Dress code as a palette with colour copying free?
- The preview is open to everyone; the source is available with a PRO subscription.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/event-009.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
A composite block: imports button-100 from @/components/vibeui/ — the install command brings them along with the block. The block owns the layout and its own text, passes the parts props only and leaves their --vibeui-<name>-* palettes alone. One file, zero npm dependencies, “use client” for copying (navigator.clipboard, 1.6 s state). Circles are buttons with --vibeui-event-009-chip from swatch.hex, diameter clamp(4.5rem,14cqi,7.5rem), overlap via margin-right and a box-shadow ring in the background colour; hover lifts, data-copied runs the hop keyframes. The caption is the name and the HEX in tabular figures. From 56rem the palette and “avoid” sit in two columns (1.5fr/.8fr), the looks in two columns beneath. Palette --vibeui-event-009-* is neutral: ink and paper via light-dark(), the site colours come through the accent, ink and background props; dark theme via .dark/[data-theme] or tone. Cormorant Garamond and Manrope come via <link precedence> from Google Fonts with Georgia and system fallbacks. accent and background override colours, prefers-reduced-motion disables animations.
Tags
- wedding
- dress code
- palette
- colors
- swatches
- copy
- hex
- outfit
- guests
- serif
- cream
- composite
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…