Forms
Radio Card Group
Large selectable radio-as-card tiles for plan or shipping-method pickers, built on native radios with zero JS.
$ velocityx add radio-card-group Built for astro.
Full docs for Radio Card Group →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | No | 'plan' | |
| options | RadioCardOption[] | No | [ { value: 'starter', label: 'Starter', description: 'For solo projects', meta: '$0/mo' }, { value: 'pro', label: 'Pro', description: 'For growing teams', meta: '$29/mo' }, ] | |
| defaultValue | string | No | ||
| legend | string | No | ||
| columns | 1 | 2 | 3 | No | 2 | |
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/radio-card-group/RadioCardGroup.astro Using the Radio Card Group component
Install it with velocityx add radio-card-group.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from Forms.
Multi-select add-on cards with the radio-card visual language but native checkbox semantics, zero JS.
astroSingle-column name/email/subject/message contact form with a honeypot field, Netlify Forms opt-in, and a presentational action prop.
astroTwo-column contact layout with a named aside slot for a map or office photo, stacking to one column on mobile.
astroVertical catalog filter stack with collapsible checkbox groups and a price range, built on native details elements.
astro