R 8R 12
4
896 × 54
ComposeUI
ComponentsChartsBlocksDocs

Let's have coffee?

R 16
Subham avatar
Want to work together? Just want to chat?
Subham avatar
Check out my portfolio: subham12r.dev
Subham avatar
Or grab 15 mins on my calendar:
Coffee chat
Portfoliosubham12r.dev
Mail
hello@subham12r.dev
Socials
X / Twitter·GitHub·LinkedIn
Explore
Components·Charts·Blocks·Docs

Designed and built by Subham

ComposeUIComposeUI
© 2026 ComposeUI·React + Tailwind v4
opacity64%

Slider

Fill
Stroke
Color

Slider

Inputs

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} />;}

Install

Add it with the ComposeUI CLI, or copy the source manually.

$ bunx --bun compose-ui-cli add slider

API Reference

Prop
Type
Default
value
number

Numeric position mapped to track fill and squircle thumb offset.

64
min / max
number

Lower and upper numeric bounds of the native range input.

0 / 100
label
string

Mono caption shown opposite the tabular numeric readout.

"opacity"

Related components

#
R 12
on
Switch
R 12
⌘K
Input
R 12

Quarterly goal

Gauge
72.5%
72.5%sales goals

Milestones

10 / 144.2%

Revenue

$31.4k5.1%
Quarterly goal

Updated December 2026

R 12
Previous

Input

R 12
Next

Status Badge