Events
“Beach formal” dress code with fabric swatches
A beach-wedding dress code: a strip of sun-bleached colours like fabric swatches — hover widens a strip, a click copies the HEX; two looks, “her” and “him”, with taped photos; three beach rules with icons — sun, sand, wind. No heels.
What you can change
- eyebrow, title (after “ — ” turns handwritten), lede, swatches (name, hex), copiedLabel
- looks (who, title, text, image), rules (icon from the set, text)
- accent and background, tone
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.ru/c/event-012?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…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
One file, zero dependencies, “use client” for copying (navigator.clipboard, 1.6 s state). Swatches are a <ul> with display:contents li and flex:1 buttons, the colour from swatch.hex via --vibeui-event-012-chip, the caption colour computed from luminance (ink); hover and data-copied widen the strip to flex:1.6. Looks are 4:5 photos on white card with a ::before tape, tilted unevenly; rules are a panel with inline SVGs by rule.icon: sun, sand, wind. From 56rem looks in two columns, rules on the right at .7fr. Palette --vibeui-event-012-* 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. Oswald, Lobster and Manrope come via <link precedence> from Google Fonts with system fallbacks. accent and background override colours, prefers-reduced-motion disables animations.
Tags
- wedding
- dress code
- beach
- palette
- swatches
- fabric
- copy
- hex
- outfit
- cuba
- retro
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…