> ## Documentation Index
> Fetch the complete documentation index at: https://www.propeldata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursors

> Customize cursor styles for interactive elements.

<div />

By default, interactive elements that don't link to another page use the regular arrow cursor. This also matches the browser defaults. However, disabled elements use an explicit disabled cursor.

<div style={{ backgroundColor: '#f5f5f5', padding: '1rem', borderRadius: '4px', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
  <div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap' }}>
    <div style={{ cursor: 'default' }}>`default`</div>
    <div style={{ cursor: 'pointer' }}>`pointer`</div>
    <div style={{ cursor: 'grab' }}>`grab`</div>
    <div style={{ cursor: 'grabbing' }}>`grabbing`</div>
    <div style={{ cursor: 'not-allowed' }}>`not-allowed`</div>
    <div style={{ cursor: 'wait' }}>`wait`</div>
    <div style={{ cursor: 'text' }}>`text`</div>
    <div style={{ cursor: 'move' }}>`move`</div>
    <div style={{ cursor: 'help' }}>`help`</div>
  </div>
</div>

## Cursor tokens

Cursor settings can be accessed using CSS variables. You can use these tokens to style your custom components, ensuring they are accessible and consistent with the rest of your theme.

```css theme={"system"}
/* Available cursor tokens */
var(--cursor-button);
var(--cursor-checkbox);
var(--cursor-disabled);
var(--cursor-link);
var(--cursor-menu-item);
var(--cursor-radio);
var(--cursor-slider-thumb);
var(--cursor-slider-thumb-active);
var(--cursor-switch);
```

## Customization

It's common to use a pointer cursor for interactive elements. Radix Themes cursors can be customized by overriding the corresponding CSS variables of the token system.

Here' s an example of how you can customize the cursor tokens to set `cursor: pointer` for most interactive elements in the theme:

```css theme={"system"}
.propel-themes {
	--cursor-button: pointer;
	--cursor-checkbox: pointer;
	--cursor-disabled: default;
	--cursor-link: pointer;
	--cursor-menu-item: pointer;
	--cursor-radio: pointer;
	--cursor-slider-thumb: grab;
	--cursor-slider-thumb-active: grabbing;
	--cursor-switch: pointer;
}
```

Make sure that your CSS is applied after the Radix Themes styles so that it takes precedence.
