# InputRange

> Renders the HTML <input type="range"> element.

[API reference](/docs/api/index.md) › [HTML](/docs/extensions/html/reference/index.md) › [Form](/docs/extensions/html/reference/form/index.md) › InputRange

| final class | `UIAwesome\Html\Form\InputRange` |
| --- | --- |
| Extends | [`UIAwesome\Html\Core\Element\BaseInput`](/docs/extensions/html-core/reference/element/baseinput/index.md) » [`UIAwesome\Html\Core\Base\BaseTag`](/docs/extensions/html-core/reference/base/basetag/index.md) |
| Implements | [`UIAwesome\Html\Contracts\Attribute\ValueInterface`](/docs/extensions/html-contracts/reference/attribute/valueinterface/index.md), [`UIAwesome\Html\Contracts\Form\FormControlInterface`](/docs/extensions/html-contracts/reference/form/formcontrolinterface/index.md), [`UIAwesome\Html\Contracts\RenderableInterface`](/docs/extensions/html-contracts/reference/renderableinterface/index.md) |
| Uses traits | [`UIAwesome\Html\Attribute\Global\CanBeAutofocus`](/docs/extensions/html-attribute/reference/global/canbeautofocus/index.md), [`UIAwesome\Html\Attribute\Global\HasTabindex`](/docs/extensions/html-attribute/reference/global/hastabindex/index.md), [`UIAwesome\Html\Attribute\HasValue`](/docs/extensions/html-attribute/reference/hasvalue/index.md), [`UIAwesome\Html\Attribute\CanBeDisabled`](/docs/extensions/html-attribute/reference/canbedisabled/index.md), [`UIAwesome\Html\Attribute\Global\CanBeHidden`](/docs/extensions/html-attribute/reference/global/canbehidden/index.md), [`UIAwesome\Html\Attribute\Global\HasAccesskey`](/docs/extensions/html-attribute/reference/global/hasaccesskey/index.md), [`UIAwesome\Html\Attribute\Global\HasAria`](/docs/extensions/html-attribute/reference/global/hasaria/index.md), [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md), [`UIAwesome\Html\Attribute\Global\HasClass`](/docs/extensions/html-attribute/reference/global/hasclass/index.md), [`UIAwesome\Html\Attribute\Global\HasData`](/docs/extensions/html-attribute/reference/global/hasdata/index.md), [`UIAwesome\Html\Attribute\Global\HasDir`](/docs/extensions/html-attribute/reference/global/hasdir/index.md), [`UIAwesome\Html\Core\Element\Concern\HasElementBuilder`](/docs/extensions/html-core/reference/element/concern/haselementbuilder/index.md), [`UIAwesome\Html\Attribute\Global\HasEvents`](/docs/extensions/html-attribute/reference/global/hasevents/index.md), [`UIAwesome\Html\Attribute\Global\HasId`](/docs/extensions/html-attribute/reference/global/hasid/index.md), [`UIAwesome\Html\Attribute\Global\HasLang`](/docs/extensions/html-attribute/reference/global/haslang/index.md), [`UIAwesome\Html\Attribute\HasName`](/docs/extensions/html-attribute/reference/hasname/index.md), [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md), [`UIAwesome\Html\Attribute\Global\HasRole`](/docs/extensions/html-attribute/reference/global/hasrole/index.md), [`UIAwesome\Html\Attribute\Global\HasStyle`](/docs/extensions/html-attribute/reference/global/hasstyle/index.md), [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md), [`UIAwesome\Html\Mixin\HasTemplate`](/docs/extensions/html-mixin/reference/hastemplate/index.md), [`UIAwesome\Html\Attribute\Global\HasTitle`](/docs/extensions/html-attribute/reference/global/hastitle/index.md), [`UIAwesome\Html\Attribute\Global\HasTranslate`](/docs/extensions/html-attribute/reference/global/hastranslate/index.md), [`UIAwesome\Html\Attribute\HasType`](/docs/extensions/html-attribute/reference/hastype/index.md), [`UIAwesome\Html\Core\Event\HasAfterRun`](/docs/extensions/html-core/reference/event/hasafterrun/index.md), [`UIAwesome\Html\Core\Event\HasBeforeRun`](/docs/extensions/html-core/reference/event/hasbeforerun/index.md) |
| Source | [`src/Form/InputRange.php`](https://github.com/ui-awesome/html/blob/main/src/Form/InputRange.php#L21) |

Renders the HTML `<input type="range">` element.

See also: <https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/range>.

## Properties

| Property | Type | Description | Defined by |
| --- | --- | --- | --- |
| <span id="property-attributes"></span>[`$attributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md#property-attributes) protected | `mixed[]` | HTML attributes array used by the implementing class. Default: `[]`. | [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md) |
| <span id="property-prefix"></span>[`$prefix`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#property-prefix) protected | `string` | Prefix content string assigned to the element. Default: `''`. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="property-prefixAttributes"></span>[`$prefixAttributes`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#property-prefixAttributes) protected | `array` | HTML attributes array for the prefix element. Default: `[]`. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="property-prefixTag"></span>[`$prefixTag`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#property-prefixTag) protected | `false\|`[`UnitEnum`](https://www.php.net/manual/en/class.unitenum.php) | Tag name for the prefix element, or `false` to disable. Default: `false`. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="property-suffix"></span>[`$suffix`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#property-suffix) protected | `string` | Suffix content string assigned to the element. Default: `''`. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="property-suffixAttributes"></span>[`$suffixAttributes`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#property-suffixAttributes) protected | `array` | HTML attributes array for the suffix element. Default: `[]`. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="property-suffixTag"></span>[`$suffixTag`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#property-suffixTag) protected | `false\|`[`UnitEnum`](https://www.php.net/manual/en/class.unitenum.php) | Tag name for the suffix element, or `false` to disable. Default: `false`. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="property-template"></span>[`$template`](/docs/extensions/html-mixin/reference/hastemplate/index.md#property-template) protected | `string` | Template string used for constructing the HTML tag. Default: `''`. | [`UIAwesome\Html\Mixin\HasTemplate`](/docs/extensions/html-mixin/reference/hastemplate/index.md) |

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| <span id="method-__construct"></span>[`__construct()`](/docs/extensions/html-core/reference/base/basetag/index.md#method-__construct) final | Initializes a new tag instance. | [`UIAwesome\Html\Core\Base\BaseTag`](/docs/extensions/html-core/reference/base/basetag/index.md) |
| <span id="method-__toString"></span>[`__toString()`](/docs/extensions/html-core/reference/base/basetag/index.md#method-__toString) | Returns the rendered tag string. | [`UIAwesome\Html\Core\Base\BaseTag`](/docs/extensions/html-core/reference/base/basetag/index.md) |
| <span id="method-accesskey"></span>[`accesskey()`](/docs/extensions/html-attribute/reference/global/hasaccesskey/index.md#method-accesskey) | Sets the `accesskey` attribute. | [`UIAwesome\Html\Attribute\Global\HasAccesskey`](/docs/extensions/html-attribute/reference/global/hasaccesskey/index.md) |
| <span id="method-addAriaAttribute"></span>[`addAriaAttribute()`](/docs/extensions/html-attribute/reference/global/hasaria/index.md#method-addAriaAttribute) | Sets an `aria-*` attribute. | [`UIAwesome\Html\Attribute\Global\HasAria`](/docs/extensions/html-attribute/reference/global/hasaria/index.md) |
| <span id="method-addAttribute"></span>[`addAttribute()`](/docs/extensions/html-mixin/reference/hasattributes/index.md#method-addAttribute) | Adds or updates a single HTML attribute for the element. | [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md) |
| <span id="method-addDataAttribute"></span>[`addDataAttribute()`](/docs/extensions/html-attribute/reference/global/hasdata/index.md#method-addDataAttribute) | Sets a `data-*` attribute. | [`UIAwesome\Html\Attribute\Global\HasData`](/docs/extensions/html-attribute/reference/global/hasdata/index.md) |
| <span id="method-addEvent"></span>[`addEvent()`](/docs/extensions/html-attribute/reference/global/hasevents/index.md#method-addEvent) | Sets an `on*` event attribute. | [`UIAwesome\Html\Attribute\Global\HasEvents`](/docs/extensions/html-attribute/reference/global/hasevents/index.md) |
| <span id="method-ariaAttributes"></span>[`ariaAttributes()`](/docs/extensions/html-attribute/reference/global/hasaria/index.md#method-ariaAttributes) | Sets multiple `aria-*` attributes. | [`UIAwesome\Html\Attribute\Global\HasAria`](/docs/extensions/html-attribute/reference/global/hasaria/index.md) |
| <span id="method-attributes"></span>[`attributes()`](/docs/extensions/html-mixin/reference/hasattributes/index.md#method-attributes) | Adds or updates multiple HTML attributes for the element. | [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md) |
| [`autocomplete()`](#method-autocomplete) | Sets the `autocomplete` attribute. | `InputRange` |
| <span id="method-autofocus"></span>[`autofocus()`](/docs/extensions/html-attribute/reference/global/canbeautofocus/index.md#method-autofocus) | Sets the `autofocus` attribute. | [`UIAwesome\Html\Attribute\Global\CanBeAutofocus`](/docs/extensions/html-attribute/reference/global/canbeautofocus/index.md) |
| <span id="method-class"></span>[`class()`](/docs/extensions/html-attribute/reference/global/hasclass/index.md#method-class) | Sets the `class` attribute. | [`UIAwesome\Html\Attribute\Global\HasClass`](/docs/extensions/html-attribute/reference/global/hasclass/index.md) |
| <span id="method-config"></span>[`config()`](/docs/extensions/html-core/reference/base/basetag/index.md#method-config) | Applies application-scoped config recipes to this tag. | [`UIAwesome\Html\Core\Base\BaseTag`](/docs/extensions/html-core/reference/base/basetag/index.md) |
| <span id="method-dataAttributes"></span>[`dataAttributes()`](/docs/extensions/html-attribute/reference/global/hasdata/index.md#method-dataAttributes) | Sets multiple `data-*` attributes. | [`UIAwesome\Html\Attribute\Global\HasData`](/docs/extensions/html-attribute/reference/global/hasdata/index.md) |
| <span id="method-dir"></span>[`dir()`](/docs/extensions/html-attribute/reference/global/hasdir/index.md#method-dir) | Sets the `dir` attribute. | [`UIAwesome\Html\Attribute\Global\HasDir`](/docs/extensions/html-attribute/reference/global/hasdir/index.md) |
| <span id="method-disabled"></span>[`disabled()`](/docs/extensions/html-attribute/reference/canbedisabled/index.md#method-disabled) | Sets the `disabled` attribute. | [`UIAwesome\Html\Attribute\CanBeDisabled`](/docs/extensions/html-attribute/reference/canbedisabled/index.md) |
| <span id="method-events"></span>[`events()`](/docs/extensions/html-attribute/reference/global/hasevents/index.md#method-events) | Sets multiple `on*` event attributes. | [`UIAwesome\Html\Attribute\Global\HasEvents`](/docs/extensions/html-attribute/reference/global/hasevents/index.md) |
| <span id="method-form"></span>[`form()`](/docs/extensions/html-core/reference/element/baseinput/index.md#method-form) | Sets the `form` attribute. | [`UIAwesome\Html\Core\Element\BaseInput`](/docs/extensions/html-core/reference/element/baseinput/index.md) |
| <span id="method-getAttribute"></span>[`getAttribute()`](/docs/extensions/html-mixin/reference/hasattributes/index.md#method-getAttribute) | Returns the value of a single HTML attribute. | [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md) |
| <span id="method-getAttributes"></span>[`getAttributes()`](/docs/extensions/html-mixin/reference/hasattributes/index.md#method-getAttributes) | Returns the `array` of HTML attributes for the element. | [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md) |
| <span id="method-getPrefix"></span>[`getPrefix()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-getPrefix) | Returns the prefix content string assigned to the element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-getPrefixAttribute"></span>[`getPrefixAttribute()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-getPrefixAttribute) | Returns the value of a single HTML attribute for the prefix element attributes. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-getPrefixAttributes"></span>[`getPrefixAttributes()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-getPrefixAttributes) | Returns the `array` of HTML attributes for the prefix element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-getPrefixTag"></span>[`getPrefixTag()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-getPrefixTag) | Returns the tag name for the prefix element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-getSuffix"></span>[`getSuffix()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-getSuffix) | Returns the suffix content string assigned to the element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-getSuffixAttribute"></span>[`getSuffixAttribute()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-getSuffixAttribute) | Returns the value of a single HTML attribute for the suffix element attributes. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-getSuffixAttributes"></span>[`getSuffixAttributes()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-getSuffixAttributes) | Returns the `array` of HTML attributes for the suffix element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-getSuffixTag"></span>[`getSuffixTag()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-getSuffixTag) | Returns the tag name for the suffix element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-getTemplate"></span>[`getTemplate()`](/docs/extensions/html-mixin/reference/hastemplate/index.md#method-getTemplate) | Returns the template assigned to the element. | [`UIAwesome\Html\Mixin\HasTemplate`](/docs/extensions/html-mixin/reference/hastemplate/index.md) |
| <span id="method-hidden"></span>[`hidden()`](/docs/extensions/html-attribute/reference/global/canbehidden/index.md#method-hidden) | Sets the `hidden` attribute. | [`UIAwesome\Html\Attribute\Global\CanBeHidden`](/docs/extensions/html-attribute/reference/global/canbehidden/index.md) |
| <span id="method-id"></span>[`id()`](/docs/extensions/html-attribute/reference/global/hasid/index.md#method-id) | Sets the `id` attribute. | [`UIAwesome\Html\Attribute\Global\HasId`](/docs/extensions/html-attribute/reference/global/hasid/index.md) |
| <span id="method-lang"></span>[`lang()`](/docs/extensions/html-attribute/reference/global/haslang/index.md#method-lang) | Sets the `lang` attribute. | [`UIAwesome\Html\Attribute\Global\HasLang`](/docs/extensions/html-attribute/reference/global/haslang/index.md) |
| [`list()`](#method-list) | Sets the `list` attribute. | `InputRange` |
| [`max()`](#method-max) | Sets the `max` attribute. | `InputRange` |
| [`min()`](#method-min) | Sets the `min` attribute. | `InputRange` |
| <span id="method-name"></span>[`name()`](/docs/extensions/html-attribute/reference/hasname/index.md#method-name) | Sets the `name` attribute. | [`UIAwesome\Html\Attribute\HasName`](/docs/extensions/html-attribute/reference/hasname/index.md) |
| <span id="method-prefix"></span>[`prefix()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-prefix) | Sets the prefix content string for the element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-prefixAttributes"></span>[`prefixAttributes()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-prefixAttributes) | Sets the HTML attributes for the prefix element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-prefixClass"></span>[`prefixClass()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-prefixClass) | Adds a CSS class to the prefix element attributes. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-prefixRemoveAttribute"></span>[`prefixRemoveAttribute()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-prefixRemoveAttribute) | Removes a specific HTML attribute from the prefix element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-prefixSetAttribute"></span>[`prefixSetAttribute()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-prefixSetAttribute) | Sets a single HTML attribute for the prefix element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-prefixTag"></span>[`prefixTag()`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md#method-prefixTag) | Sets the tag name for the prefix element. | [`UIAwesome\Html\Mixin\HasPrefixCollection`](/docs/extensions/html-mixin/reference/hasprefixcollection/index.md) |
| <span id="method-removeAriaAttribute"></span>[`removeAriaAttribute()`](/docs/extensions/html-attribute/reference/global/hasaria/index.md#method-removeAriaAttribute) | Removes an `aria-*` attribute. | [`UIAwesome\Html\Attribute\Global\HasAria`](/docs/extensions/html-attribute/reference/global/hasaria/index.md) |
| <span id="method-removeAttribute"></span>[`removeAttribute()`](/docs/extensions/html-mixin/reference/hasattributes/index.md#method-removeAttribute) | Removes a specific HTML attribute from the element. | [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md) |
| <span id="method-removeDataAttribute"></span>[`removeDataAttribute()`](/docs/extensions/html-attribute/reference/global/hasdata/index.md#method-removeDataAttribute) | Removes a `data-*` attribute. | [`UIAwesome\Html\Attribute\Global\HasData`](/docs/extensions/html-attribute/reference/global/hasdata/index.md) |
| <span id="method-removeEvent"></span>[`removeEvent()`](/docs/extensions/html-attribute/reference/global/hasevents/index.md#method-removeEvent) | Removes an `on*` event attribute. | [`UIAwesome\Html\Attribute\Global\HasEvents`](/docs/extensions/html-attribute/reference/global/hasevents/index.md) |
| <span id="method-render"></span>[`render()`](/docs/extensions/html-core/reference/base/basetag/index.md#method-render) final | Renders the tag with lifecycle hooks. | [`UIAwesome\Html\Core\Base\BaseTag`](/docs/extensions/html-core/reference/base/basetag/index.md) |
| <span id="method-replaceAttributes"></span>[`replaceAttributes()`](/docs/extensions/html-mixin/reference/hasattributes/index.md#method-replaceAttributes) | Replaces all HTML attributes for the element. | [`UIAwesome\Html\Mixin\HasAttributes`](/docs/extensions/html-mixin/reference/hasattributes/index.md) |
| <span id="method-role"></span>[`role()`](/docs/extensions/html-attribute/reference/global/hasrole/index.md#method-role) | Sets the `role` attribute. | [`UIAwesome\Html\Attribute\Global\HasRole`](/docs/extensions/html-attribute/reference/global/hasrole/index.md) |
| [`step()`](#method-step) | Sets the `step` attribute. | `InputRange` |
| <span id="method-style"></span>[`style()`](/docs/extensions/html-attribute/reference/global/hasstyle/index.md#method-style) | Sets the `style` attribute. | [`UIAwesome\Html\Attribute\Global\HasStyle`](/docs/extensions/html-attribute/reference/global/hasstyle/index.md) |
| <span id="method-suffix"></span>[`suffix()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-suffix) | Sets the suffix content string for the element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-suffixAttributes"></span>[`suffixAttributes()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-suffixAttributes) | Sets the HTML attributes for the suffix element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-suffixClass"></span>[`suffixClass()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-suffixClass) | Adds a CSS class to the suffix element attributes. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-suffixRemoveAttribute"></span>[`suffixRemoveAttribute()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-suffixRemoveAttribute) | Removes a specific HTML attribute from the suffix element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-suffixSetAttribute"></span>[`suffixSetAttribute()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-suffixSetAttribute) | Sets a single HTML attribute for the suffix element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-suffixTag"></span>[`suffixTag()`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md#method-suffixTag) | Sets the tag type for the suffix element. | [`UIAwesome\Html\Mixin\HasSuffixCollection`](/docs/extensions/html-mixin/reference/hassuffixcollection/index.md) |
| <span id="method-tabIndex"></span>[`tabIndex()`](/docs/extensions/html-attribute/reference/global/hastabindex/index.md#method-tabIndex) | Sets the `tabindex` attribute. | [`UIAwesome\Html\Attribute\Global\HasTabindex`](/docs/extensions/html-attribute/reference/global/hastabindex/index.md) |
| <span id="method-tag"></span>[`tag()`](/docs/extensions/html-core/reference/base/basetag/index.md#method-tag) static | Creates and configures a new tag instance. | [`UIAwesome\Html\Core\Base\BaseTag`](/docs/extensions/html-core/reference/base/basetag/index.md) |
| <span id="method-template"></span>[`template()`](/docs/extensions/html-mixin/reference/hastemplate/index.md#method-template) | Sets the template string for the element. | [`UIAwesome\Html\Mixin\HasTemplate`](/docs/extensions/html-mixin/reference/hastemplate/index.md) |
| <span id="method-title"></span>[`title()`](/docs/extensions/html-attribute/reference/global/hastitle/index.md#method-title) | Sets the `title` attribute. | [`UIAwesome\Html\Attribute\Global\HasTitle`](/docs/extensions/html-attribute/reference/global/hastitle/index.md) |
| <span id="method-translate"></span>[`translate()`](/docs/extensions/html-attribute/reference/global/hastranslate/index.md#method-translate) | Sets the `translate` attribute. | [`UIAwesome\Html\Attribute\Global\HasTranslate`](/docs/extensions/html-attribute/reference/global/hastranslate/index.md) |
| <span id="method-type"></span>[`type()`](/docs/extensions/html-attribute/reference/hastype/index.md#method-type) | Sets the `type` attribute. | [`UIAwesome\Html\Attribute\HasType`](/docs/extensions/html-attribute/reference/hastype/index.md) |
| <span id="method-value"></span>[`value()`](/docs/extensions/html-attribute/reference/hasvalue/index.md#method-value) | Sets the `value` attribute. | [`UIAwesome\Html\Attribute\HasValue`](/docs/extensions/html-attribute/reference/hasvalue/index.md) |
| <span id="method-afterRun"></span>[`afterRun()`](/docs/extensions/html-core/reference/event/hasafterrun/index.md#method-afterRun) protected | Post-processes rendered output. | [`UIAwesome\Html\Core\Event\HasAfterRun`](/docs/extensions/html-core/reference/event/hasafterrun/index.md) |
| <span id="method-beforeRun"></span>[`beforeRun()`](/docs/extensions/html-core/reference/event/hasbeforerun/index.md#method-beforeRun) protected | Validates state before rendering. | [`UIAwesome\Html\Core\Event\HasBeforeRun`](/docs/extensions/html-core/reference/event/hasbeforerun/index.md) |
| <span id="method-buildElement"></span>[`buildElement()`](/docs/extensions/html-core/reference/element/concern/haselementbuilder/index.md#method-buildElement) protected | Builds element output from content and template tokens. | [`UIAwesome\Html\Core\Element\Concern\HasElementBuilder`](/docs/extensions/html-core/reference/element/concern/haselementbuilder/index.md) |
| [`getTag()`](#method-getTag) protected | Returns the tag enumeration for the `<input>` element. | `InputRange` |
| [`loadDefault()`](#method-loadDefault) protected | Returns the default configuration for the input element. | `InputRange` |
| [`run()`](#method-run) protected | Renders the `<input>` element with its attributes. | `InputRange` |

## Method details

### autocomplete() <span id="method-autocomplete"></span>

```php
public function autocomplete(string|Stringable|UnitEnum|null $value): static
```

Sets the `autocomplete` attribute.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `string\|`[`Stringable`](https://www.php.net/manual/en/class.stringable.php)`\|`[`UnitEnum`](https://www.php.net/manual/en/class.unitenum.php)`\|null` | Autocomplete value, or `null` to remove the attribute. |

**Returns**

`static`: New instance with the updated `autocomplete` attribute.

### list() <span id="method-list"></span>

```php
public function list(string|Stringable|UnitEnum|null $value): static
```

Sets the `list` attribute.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `string\|`[`Stringable`](https://www.php.net/manual/en/class.stringable.php)`\|`[`UnitEnum`](https://www.php.net/manual/en/class.unitenum.php)`\|null` | Datalist ID, or `null` to remove the attribute. |

**Returns**

`static`: New instance with the updated `list` attribute.

### max() <span id="method-max"></span>

```php
public function max(float|int|string|Stringable|UnitEnum|null $value): static
```

Sets the `max` attribute.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `float\|int\|string\|`[`Stringable`](https://www.php.net/manual/en/class.stringable.php)`\|`[`UnitEnum`](https://www.php.net/manual/en/class.unitenum.php)`\|null` | Maximum value, or `null` to remove the attribute. |

**Returns**

`static`: New instance with the updated `max` attribute.

### min() <span id="method-min"></span>

```php
public function min(float|int|string|Stringable|UnitEnum|null $value): static
```

Sets the `min` attribute.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `float\|int\|string\|`[`Stringable`](https://www.php.net/manual/en/class.stringable.php)`\|`[`UnitEnum`](https://www.php.net/manual/en/class.unitenum.php)`\|null` | Minimum value, or `null` to remove the attribute. |

**Returns**

`static`: New instance with the updated `min` attribute.

### step() <span id="method-step"></span>

```php
public function step(float|int|string|Stringable|UnitEnum|null $value): static
```

Sets the `step` attribute.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `float\|int\|string\|`[`Stringable`](https://www.php.net/manual/en/class.stringable.php)`\|`[`UnitEnum`](https://www.php.net/manual/en/class.unitenum.php)`\|null` | Step value. Use `'any' for no stepping restriction, or `null` to remove the attribute. |

**Returns**

`static`: New instance with the updated `step` attribute.

### getTag() <span id="method-getTag"></span>

```php
protected function getTag(): UIAwesome\Html\Interop\Voids
```

Returns the tag enumeration for the `<input>` element.

**Returns**

[`Voids`](https://github.com/ui-awesome/html-interop/blob/bbc56fa772c4b4772a6a83d4a3e602c5c27313c9/src/Voids.php): Tag enumeration instance for `<input>`.

### loadDefault() <span id="method-loadDefault"></span>

```php
protected function loadDefault(): array<string, mixed>
```

Returns the default configuration for the input element.

**Returns**

`array<string, mixed>`: Default configuration for the input element, including the default `type` attribute set to `range`.

### run() <span id="method-run"></span>

```php
protected function run(): string
```

Renders the `<input>` element with its attributes.

**Returns**

`string`: Rendered HTML for the `<input>` element.