---
title: slider
description: A labelled range control from `min` to `max` with an optional current `value`.
status: shipped
url: https://getairframe.com/framewerk/reference/nodes/slider
---

> Part of the Framewerk docs. Index of every page: /framewerk/llms.txt

# `slider`

A labelled range control from `min` to `max` with an optional current `value`.

## Example

**slider**

```json
{
  "id": "f",
  "layout": {
    "_id": "root",
    "type": "column",
    "gap": 12,
    "padding": 16,
    "children": [
      {
        "_id": "s",
        "type": "slider",
        "label": "Intensity",
        "min": 0,
        "max": 100,
        "value": 40
      }
    ]
  }
}
```

## States

`value` within `min`/`max`. Common to every node: `hover` / `press` / `focus` CSS bags, `showWhen` / `hideWhen`, `animate`.

## Stability

This node type is part of the format contract: adding an optional prop is additive; removing the node or narrowing an existing prop is breaking. Prop tables are generated from the schema; this page carries the prose.
