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

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

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



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.

API
---
### getSegments

tsx

getSegments: () => ReadonlyArray<{left: number; width: number}>


getSegments: () => ReadonlyArray<{left: number; width: number}>

Segments to be rendered. Each segment has the following props:

  • left: number - Percentage value of where segment should start on ranger
  • width: number - Percentage value of segment width

Edit on GitHub

Custom Steps

Logarithmic Interpolator

Partners Become a Partner

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

scarf analytics