Smooth range track with wide beveled squircle thumb and overlapping scale hover feedback.
"use client"; import { useState } from "react";import { SquircleSlider } from "@/components/compose/slider"; export function OpacityControl() { const [opacity, setOpacity] = useState(64); return <SquircleSlider label="opacity" value={opacity} onChange={setOpacity} />;}Add it with the ComposeUI CLI, or copy the source manually.
valuenumberNumeric position mapped to track fill and squircle thumb offset.
64min / maxnumberLower and upper numeric bounds of the native range input.
0 / 100labelstringMono caption shown opposite the tabular numeric readout.
"opacity"Updated December 2026