Performance
PassFrame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.7 KB · Runtime 2.1 KB
giant-jellyfish-3MITRadio groupUiverse.io
A radio group built with plain HTML and CSS by LilaRest. Collected from Uiverse.io under the MIT licence and shown here live.
Quality report
The grade and score come from automated checks run at build or test time. If a check did not run, it is marked Not tested — numbers are never invented.
Frame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.7 KB · Runtime 2.1 KB
Issues 0 · Screen reader: Pass
No continuous motion
No overflow
Frame rate and long-task figures were measured in headless Chromium with software WebGL. They are only comparable between components on this site, and do not represent real devices.
Not applicable: no visible animation at rest. Hover-triggered animation was not tested.
No axe-core violations.

Checked Nov 15, 2026 · Figures come from an automated script, not from hand-written samples.
Shown at real size.
The copy starts with the licence notice. Keep it when you use the code.
<div class="radio-input">
<div class="glass">
<div class="glass-inner">
</div>
</div>
<div class="selector">
<div class="choice">
<div>
<input class="choice-circle" checked="true" value="one" name="number-selector" id="one" type="radio">
<div class="ball"></div>
</div>
<label for="one" class="choice-name">1</label>
</div>
<div class="choice">
<div>
<input class="choice-circle" value="two" name="number-selector" id="two" type="radio">
<div class="ball"></div>
</div>
<label class="choice-name">2</label>
</div>
<div class="choice">
<div>
<input class="choice-circle" value="three" name="number-selector" id="three" type="radio">
<div class="ball"></div>
</div>
<label for="three" class="choice-name">3</label>
</div>
</div>
</div>/* From Uiverse.io by LilaRest - Tags: */
.radio-input {
display: flex;
height: 210px;
align-items: center;
}
.glass {
z-index: 2;
height: 110%;
width: 95px;
margin-right: 25px;
padding: 8px;
background-color: rgba(190, 189, 189, 0.5);
border-radius: 35px;
box-shadow: rgba(50, 50, 93, 0.2) 0px 25px 50px -10px,
rgba(0, 0, 0, 0.25) 0px 10px 30px -15px,
rgba(10, 37, 64, 0.26) 0px -2px 6px 0px inset;
backdrop-filter: blur(8px);
}
.glass-inner {
width: 100%;
height: 100%;
border-color: rgba(245, 245, 245, 0.45);
border-width: 9px;
border-style: solid;
border-radius: 30px
}
.selector {
display: flex;
flex-direction: column;
}
.choice {
margin: 10px 0 10px 0;
display: flex;
align-items: center;
}
.choice > div {
position: relative;
width: 41px;
height: 41px;
margin-right: 15px;
z-index: 0;
}
.choice-circle {
appearance: none;
height: 100%;
width: 100%;
border-radius: 100%;
border-width: 9px;
border-style: solid;
border-color: rgba(245, 245, 245, 0.45);
cursor: pointer;
box-shadow: 0px 0px 20px -13px gray,
0px 0px 20px -14px gray inset;
}
.ball {
z-index: 1;
position: absolute;
inset: 0px;
transform: translateX(-95px);
box-shadow: rgba(0, 0, 0, 0.17) 0px -10px 10px 0px inset,
rgba(0, 0, 0, 0.15) 0px -15px 15px 0px inset,
rgba(0, 0, 0, 0.1) 0px -40px 20px 0px inset,
rgba(0, 0, 0, 0.06) 0px 2px 1px,
rgba(0, 0, 0, 0.09) 0px 4px 2px,
rgba(0, 0, 0, 0.09) 0px 8px 4px,
rgba(0, 0, 0, 0.09) 0px 16px 8px,
rgba(0, 0, 0, 0.09) 0px 32px 16px,
0px -1px 15px -8px rgba(0, 0, 0, 0.09);
border-radius: 100%;
transition: transform 800ms cubic-bezier(1,-0.4,0,1.4);
background-color: rgb(232, 232, 232, 1);
}
.choice-circle:checked + .ball {
transform: translateX(0px);
}
.choice-name {
color: rgb(177, 176, 176);
font-size: 35px;
font-weight: 900;
font-family: monospace;
cursor: pointer;
}Controls · HTML · CSS · JS
Edit the code and tune it with the controls. The preview updates as you type.

This component runs from a bundled build, so its script is read-only here. Edit the HTML and CSS; the full source is in the Code tab.
Edit every component live, tune it with controls, download the full source and copy the advanced prompts.
$49 one-timePlaceholder price
Test mode: no real payment is taken.
Free: preview, copy buttons and the lesson notes.
A frosted glass tube sits beside numbered choices and a ball moves to the picked one, like a level gauge.
Ratings, quantity pickers and playful one-of-few choices.
Tune the blur(8px) glass, the 95px tube width, the 35px radius and the ball colour and travel.
Build a "Glass tube number selector" component in plain HTML, CSS and JavaScript (no framework). A frosted glass tube sits beside numbered choices and a ball moves to the picked one, like a level gauge. Use it for: Ratings, quantity pickers and playful one-of-few choices. Expose these controls: Tune the blur(8px) glass, the 95px tube width, the 35px radius and the ball colour and travel. Support light and dark themes, respect prefers-reduced-motion with a still frame, keep text readable and controls keyboard accessible. Write original code; do not copy from paid or restricted component libraries.
A longer prompt with tuning, accessibility and integration steps.