Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Radio color swatch picker v1.0.0

Use this resource to offer a color or variant choice on a product page

New

  • 327 downloads
  • 125 likes
  • 127 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install color-swatch-radio-picker

First time: connect the CLI with

npx --yes palatekit@latest login

Three radio inputs are dressed as color swatches, and the card background changes with the selected swatch thanks to `:has()`. The agent swaps in your product colors and adds accessible labels. It is a good starting point for a shop variant selector.

Updated November 2, 2026

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • README.md: step-by-step guide to integrate the animation
  • Yaya12085_tough-rat-92.html: the HTML and CSS block of the animation (code unchanged)
  • Pointers to change colors and texts

Good fit for

  • product page with color variants
  • theme customization
  • preference form

Not for

  • more than six colors
  • browsers without `:has()` support

Tags

  • radio
  • color
  • product
  • variant

About

You say

"Use this picker for my bag colors: sand, sage green and black."

Three round green, blue and yellow swatches with a check mark on the selected one

Animation published by Yaya12085 on Uiverse under the MIT license, documented by PalateKit.

Show more

Prerequisites

You bring
Your texts and colors and The page where the block goes

How to use it

  1. Ask the agent to open the resource's HTML file.
  2. Give your texts, colors and the page where the block goes.
  3. Check the result in your browser, then refine with the agent.

Content preview

Files

  • LICENSE1.1 KB
  • NOTICE-PALATEKIT.md0.4 KB
  • Radio-buttons/Yaya12085_tough-rat-92.html3.1 KB
  • README.md1 KB

Origin and licence

Modified by PalateKit

Author
Yaya12085
Source
github.com/uiverse-io/galaxy/tree/adbd2adde0a299a3956ea288fb444ec01891ca41/Radio-buttons/Yaya12085_tough-rat-92.html
Licence
MIT

Notice

Version modifiée de « Yaya12085_tough-rat-92 » (Yaya12085, MIT) : traduction française et fiche par PalateKit.

User reviews

–

No ratings yet

Loading reviews…

Delete your review?

Your rating and comment will be removed from the page.

Frequently asked questions

Do I need to install anything?

No. The file holds HTML and CSS to copy into your page; no package or script is needed.

How do I change the colors?

The colors are in `#color-1 + label span`, `#color-2 + label span`, `#color-3 + label span`, and in the `:has(...)` rules that tint the card.