Range

A range lets users choose an approximate value on a slider.

Installation

Package installation information
Installyarn add @atlaskit/range
SourceBitbucket.org, (opens new window)
npm@atlaskit/range, (opens new window)
Bundleunpkg.com, (opens new window)

Props

defaultValue

Description

Sets the default value if range is not set.

Typenumber

isDisabled

Description

Sets whether the field range is disabled.

Typeboolean

max

Description

Sets the maximum value of the range.

Typenumber

min

Description

Sets the minimum value of the range.

Typenumber

onChange

Description

Hook to be invoked on change of the range.

Type(value: number) => void

ref

Description

Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref).

@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}

Typestring | Ref<HTMLInputElement>

step

Description

Sets the step value for the range.

Typenumber

testId

Description

A testId prop is provided for specific elements. This is a unique string that appears as a data attribute data-testid in the rendered code and serves as a hook for automated tests.

Typestring

value

Description

Sets the value of the range.

Typenumber
Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License