Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).

## Unreleased

### Added

- **RangeSlider** - Two-handled slider that selects a low and high value between a min and max, e.g. for filtering search results by a price or size range. A UI Toolkit port of the uGUI Extensions `RangeSlider`, supporting whole-number snapping, dragging the range between the handles, keyboard / gamepad navigation with a configurable `step-size`, optional `snap-to-step` for user input (off by default, toggleable at runtime), and `ChangeEvent<Vector2>` / `RegisterValueChangedCallback` notifications alongside the `OnValueChanged(low, high)` event, plus an `OnDragEnd(low, high)` event for reacting once a drag has finished (e.g. re-running a search filter). Handles have 44px touch targets, matching the library's other tappable controls.
- **Range Slider editor menu entries** - `GameObject/UI Toolkit/Extensions/Range Slider` and `Assets/Create/UI Toolkit/Extensions/Range Slider Starter`, with a starter template.

### Contributors

[@Dover8](https://github.com/Dover8)

## Release 1.0.0 - Launch - 2026/09

The first release of **Unity UI Toolkit Extensions** - a brand-new companion to the long-running uGUI Extensions library, built from the ground up for Unity 6 and the UI Toolkit (UITK) system.
Expand Down
1 change: 1 addition & 0 deletions Documentation~/com.unity.uitoolkiyextensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ For a full list of the controls and how they are used, please see the [online do
- **IconLabelButton** — Row button with a 24 × 24 icon and label, ideal for menu items and list actions.
- **DropDownControl** — Custom dropdown selector with a scrollable list of selectable entries.
- **SocialLinkContainer** — Editable list of platform-labelled social-link fields with add/remove and a platform picker.
- **RangeSlider** — Two-handled slider selecting a low and high value between a min and max, with whole-number snapping and draggable range.

### Media & Images

Expand Down
6 changes: 6 additions & 0 deletions Editor/ControlTemplates/RangeSliderStarter.uxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:ext="UnityUIToolkit.Extensions" editor-extension-mode="False">
<Style src="project://database/Packages/com.unity.uitoolkitextensions/Runtime/Styles/UIToolkitExtensionsControlStyles.uss" />
<ui:VisualElement name="container" style="flex-grow: 1; align-items: center; justify-content: center;">
<ext:RangeSlider min-value="0" max-value="1000" low-value="250" high-value="750" whole-numbers="true" style="width: 320px;" />
</ui:VisualElement>
</ui:UXML>
10 changes: 10 additions & 0 deletions Editor/ControlTemplates/RangeSliderStarter.uxml.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Editor/UIToolkitExtensionsMenuOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public static void AddDropDownMenu(MenuCommand menuCommand)
[MenuItem("GameObject/UI Toolkit/Extensions/Pill Selector", false, 10)]
public static void AddPillSelector(MenuCommand menuCommand) => AddControl("PillSelector", menuCommand);

[MenuItem("GameObject/UI Toolkit/Extensions/Range Slider", false, 10)]
public static void AddRangeSlider(MenuCommand menuCommand) => AddControl("RangeSlider", menuCommand);

[MenuItem("GameObject/UI Toolkit/Extensions/Rounded Input Field", false, 10)]
public static void AddRoundedInputField(MenuCommand menuCommand) => AddControl("RoundedInputField", menuCommand);

Expand Down Expand Up @@ -157,6 +160,9 @@ public static void AddDropDownMenu(MenuCommand menuCommand)
[MenuItem("Assets/Create/UI Toolkit/Extensions/Pill Selector Starter", false, 601)]
public static void CreatePillSelectorStarter() => CreateStarterAsset("PillSelector");

[MenuItem("Assets/Create/UI Toolkit/Extensions/Range Slider Starter", false, 601)]
public static void CreateRangeSliderStarter() => CreateStarterAsset("RangeSlider");

[MenuItem("Assets/Create/UI Toolkit/Extensions/Rounded Input Field Starter", false, 601)]
public static void CreateRoundedInputFieldStarter() => CreateStarterAsset("RoundedInputField");

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ All funds go to support the project, no matter the amount. **Donations in code a

## [Controls and extensions listed in this project](https://unity-ui-extensions.github.io/uitoolkit/#controls)

The package ships **25 controls** across navigation, layout, forms, media, toggles and feedback, plus reusable utilities, and **12 ready-to-run sample scenes**. Everything lives in the `Unity.UI.Extensions` namespace.
The package ships **26 controls** across navigation, layout, forms, media, toggles and feedback, plus reusable utilities, and **12 ready-to-run sample scenes**. Everything lives in the `Unity.UI.Extensions` namespace.

Browse the full, searchable list with API references and code examples:

Expand Down
8 changes: 8 additions & 0 deletions Runtime/Controls/RangeSlider.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading