📄 tanstack/ranger/latest/docs/framework/react/api/custom-steps

File: custom-steps.md | Updated: 11/15/2025

Source: https://tanstack.com/ranger/latest/docs/framework/react/api/custom-steps



TanStack

Ranger v0v0

Search...

+ K

Auto

Log In

TanStack StartRC

Docs Examples GitHub Contributors

TanStack Router

Docs Examples GitHub Contributors

TanStack Query

Docs Examples GitHub Contributors

TanStack Table

Docs Examples Github Contributors

TanStack Formnew

Docs Examples Github Contributors

TanStack DBbeta

Docs Github Contributors

TanStack Virtual

Docs Examples Github Contributors

TanStack Paceralpha

Docs Examples Github Contributors

TanStack Storealpha

Docs Examples Github Contributors

TanStack Devtoolsalpha

Docs Github Contributors

More Libraries

Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide

Documentation

Framework

React logo

React

Version

Latest

Search...

+ K

Menu

Getting Started

Adapters

API Reference

Examples

Framework

React logo

React

Version

Latest

Menu

Getting Started

Adapters

API Reference

Examples

On this page

Examples
--------

Want to skip to the implementation? Check out these examples:

The API below described how to use the custom-steps features.

Options
-------
### steps

ts

steps: Array<number>


steps: Array<number>

An array of custom steps to use. This will override stepSize

### ticks

ts

ticks: Array<number>


ticks: Array<number>

An array of custom ticks to use. This will override tickSize

API
---
### getTicks

tsx

getTicks: () => ReadonlyArray<{value: number; key: number; percentage: number}>


getTicks: () => ReadonlyArray<{value: number; key: number; percentage: number}>

Ticks to be rendered. Each tick has the following props:

  • value: number - The tick number to be displayed
  • key: number - The key of a tick
  • percentage: number - Percentage value of where tick should be placed on ranger

Edit on GitHub

Basic

Custom Styles

Partners Become a Partner

Code RabbitCode Rabbit CloudflareCloudflare AG GridAG Grid NetlifyNetlify NeonNeon WorkOSWorkOS ClerkClerk ConvexConvex ElectricElectric SentrySentry PrismaPrisma StrapiStrapi UnkeyUnkey

scarf analytics