# `Emerge.UI.Input.Slider`
[🔗](https://github.com/emerge-elixir/emerge/blob/v0.3.1/lib/emerge/ui/input/slider.ex#L1)

Configuration helpers for `Emerge.UI.Input.slider/2`.

`Slider.config/1` is an attribute-like value that only `Input.slider/2`
accepts. It configures the numeric range and optional visual slots.

# `t`

```elixir
@type t() :: {:slider_config, map()}
```

# `config`

```elixir
@spec config(keyword()) :: t()
```

Configure an `Input.slider/2`.

Supported options:

- `:min` and `:max` set the numeric range.
- `:step` sets snapping. Use `nil`, `:any`, or omit it for continuous values.
- `:track`, `:filled_track`, and `:thumb` accept regular Emerge elements.

The slider owns track widths, so the `:track` and `:filled_track` root
elements must not set `width(...)`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
