Loading preview
Coffee Order Dial
InputsA café dial for choosing a drink, with a cup that shows what goes into it.
A round thermostat whose ring glows warm when heating and cool when cooling.
npx shadcn@latest add @venusui/thermostatRun this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/thermostat.tsxThe code behind the preview above.
thermostat-demo.tsx
import { Thermostat } from "@/components/ui/thermostat"
export default function ThermostatDemo() {
return <Thermostat />
}
| Prop | Type | Default | Description |
|---|---|---|---|
| min, max | number | 10, 30 | Range. |
| defaultValue | number | 21 | Target temperature. |
| current | number | 19 | Room temperature. |
| unit | string | "°C" | Unit label. |
| onValueChange | (value: number) => void | — | Called on change. |
All <div> props.
lucide-react for icons. React 19 and Tailwind CSS v4.Unknown registry "@venusui"npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.No components.json foundnpx shadcn@latest init in your project first.A café dial for choosing a drink, with a cup that shows what goes into it.
A wall plate of rocker switches that light a row of pendant bulbs.
A graphic equalizer panel with faders, LED columns, a response curve and presets.