Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProA circular handle for choosing an angle from 0 to 359 degrees, with wrap-around, markers and snapping, for gradients, shadows and rotation.
Derived from this item’s props table, because it declares no controls of its own. Changes drive the preview live.
import { AngleSlider } from "@/components/ui/angle-slider"<AngleSlider label="Gradient angle" value={angle} onValueChange={setAngle} />| Prop | Type | Default | Description |
|---|---|---|---|
value / defaultValue | number | 0 | Degrees, 0 at the top, clockwise. |
onValueChange | (degrees: number) => void | - | Called on change. |
step | number | 1 | Snap size. |
size | number | 128 | Diameter. |
label | string | - | Accessible name. |
markers | boolean | true | Ticks at 0, 90, 180, 270. |
disabled | boolean | false | Disable. |
Role: slider.