Newsletter
Signup with Topic Picker
A signup form with checkbox chips for topics — product, design, releases: a promise to send only what was chosen. Self-contained: one file, no dependencies.
What you can change
- title and lead — the heading and the lead
- topics — the topic list: each item's label and initial on state
- topicsLabel, note, success, buttonLabel and placeholder — the form captions
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/subscribe-004?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
The block is self-contained: one file, no dependencies, its palette in local --vibeui-subscribe-004-* variables. A client component: submit is stubbed out, aria-live shows a success line. The topics are real <input type="checkbox"> elements inside chip labels, grouped in a <fieldset> with a <legend>: keyboard and screen reader work as with a plain form. The checked state is painted by the CSS :has() selector without a single line of JS; the tick always occupies its slot, so chips never jump in width. The layout follows the block's own width, the theme comes via light-dark().
Tags
- newsletter
- topics
- checkbox
- preferences
- form
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…