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

# Slider

> Preview Slider, copy setup snippets, review examples, and inspect API exports for @tuturuuu/ui/slider.

<Info>
  Explore the live, interactive preview at [tuturuuu.com/ui/components/slider](https://tuturuuu.com/ui/components/slider).
</Info>

**Category:** Inputs · **Import:** `@tuturuuu/ui/slider` · **Status:** Live preview

## Installation

Install the shared UI package, import global styles once, then import the component from its public subpath.

```bash theme={null}
bun add @tuturuuu/ui
```

```tsx theme={null}
import '@tuturuuu/ui/globals.css';
import { Slider } from '@tuturuuu/ui/slider';
```

## Usage

Copy the default usage snippet and adapt labels, state, and event handlers to the product surface.

```tsx theme={null}
import { Slider } from '@tuturuuu/ui/slider';

<Slider defaultValue={[64]} max={100} step={1} />
```

## Examples

Examples reuse the registry snippets so the docs stay aligned with the component catalog.

### Default

A minimal implementation using the current registry snippet.

```tsx theme={null}
import { Slider } from '@tuturuuu/ui/slider';

<Slider defaultValue={[64]} max={100} step={1} />
```

### Package import

Import through the public package path so workspace and external apps share the same contract.

```tsx theme={null}
// Public package import
import { Slider } from '@tuturuuu/ui/slider';

// Workspace apps should keep importing through the package boundary.
```

## API reference

The public exports currently available from this component entry.

| Export   | Kind      |
| -------- | --------- |
| `Slider` | component |

## Customization

Common props, states, and composition points to review before using this component.

* Min and max
* Step
* Value

## Related components

* [Calendar](./calendar)
* [Checkbox](./checkbox)
* [Color Picker](./color-picker)
