Segmented & slider
Slant / Controls
A segmented control over a slider, the two inputs that settle most small choices.
The theme follows the link: share a page with ?theme=moon.
Usage
- The segmented control is a
radiogroupwith one tab stop. - The slider is a range input styled with the tokens.
Keyboard
| ← / → / ↑ / ↓ | moves the selected segment |
| ← / → | nudges the slider when it has focus |
Accessibility
- The selected segment is the only one in the tab order (roving tabindex).
Segmented & slider in React and SwiftUI.
The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.