Inputs and selection
Range selector
Available forNativeWeb
trackless chart range (1D·1W·1M·1Y·ALL), active is a filled disc
Usage
For the time window over a chart. Use SegmentedControl instead when the options switch content rather than a period.
API
<RangeSelector options value onChange />Get it
Already in every copy of the native kit:
import { RangeSelector } from '@/components/kit/range-selector';Details
- Exports
RangeSelector- Installs with
- @kit-native/lib-haptics, @kit-native/lib-utils, @kit-native/text
- Also searched as
- time range, chart range, 1D 1W 1M, period
- Registry JSON
- /r/native/range-selector.json
Usage
For the time window over a chart. Use SegmentedControl when the options switch content rather than a period.
API
<RangeSelector options value onChange aria-label />Get it
Already in every copy of the web kit:
import { RangeSelector } from '@/components/kit/range-selector';Details
- Exports
RangeSelector- Packages
- cn@^0.4.0
- Also searched as
- time range, period picker
- Registry JSON
- /r/web/range-selector.json
Agents: the whole registry is at /llms.txt.