Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Wolfram Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • System Modeler
  • Wolfram Player
  • Finance Platform
  • Wolfram Engine
  • Enterprise Private Cloud
  • Application Server
  • Wolfram|Alpha Notebook Edition
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

WolframConsulting.com

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Wolfram Notebook Assistant + LLM Kit
    • System Modeler
    • Wolfram Player
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Wolfram Engine
    • Enterprise Private Cloud
    • Application Server
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
Slider
  • See Also
    • VerticalSlider
    • IntervalSlider
    • Manipulator
    • ProgressIndicator
    • HorizontalGauge
    • Locator
    • Animator
    • Slider2D
    • ColorSlider
    • Control
    • LocatorPane
    • ControlsRendering
  • Related Guides
    • Control Objects
    • Form Structure & Layout
    • Options & Styling for Interactive Manipulation
    • Dynamic Visualization
    • Creating Form Interfaces & Apps
    • Dynamic Interactivity Language
    • Interactive Manipulation
    • Creating Inspectors
  • Workflows
    • Make Forms with Sliders and Other Controls
    • Build a Manipulate
  • Tech Notes
    • Introduction to Dynamic
    • Introduction to Control Objects
    • Generalized Input
    • See Also
      • VerticalSlider
      • IntervalSlider
      • Manipulator
      • ProgressIndicator
      • HorizontalGauge
      • Locator
      • Animator
      • Slider2D
      • ColorSlider
      • Control
      • LocatorPane
      • ControlsRendering
    • Related Guides
      • Control Objects
      • Form Structure & Layout
      • Options & Styling for Interactive Manipulation
      • Dynamic Visualization
      • Creating Form Interfaces & Apps
      • Dynamic Interactivity Language
      • Interactive Manipulation
      • Creating Inspectors
    • Workflows
      • Make Forms with Sliders and Other Controls
      • Build a Manipulate
    • Tech Notes
      • Introduction to Dynamic
      • Introduction to Control Objects
      • Generalized Input

Slider[x]

represents a slider with setting x in the range 0 to 1.

Slider[Dynamic[x]]

takes the setting to be the dynamically updated current value of x, with the value of x being reset if the slider is moved.

Slider[x,{xmin,xmax}]

represents a slider with range xmin to xmax.

Slider[x,{xmin,xmax,dx}]

represents a slider that jumps in steps dx.

Slider[x,{{e1,e2,…}}]

represents a slider in which equally spaced intervals correspond to successive settings ei.

Slider[x,{{{e1,w1},{e2,w2},…}}]

uses intervals of relative widths wi for the ei.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Options  
Appearance  
AutoAction  
Background  
Show More Show More
BaselinePosition  
ContinuousAction  
Enabled  
Exclusions  
ImageMargins  
ImageSize  
Applications  
Possible Issues  
Neat Examples  
See Also
Tech Notes
Related Guides
Related Workflows
Related Links
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • VerticalSlider
    • IntervalSlider
    • Manipulator
    • ProgressIndicator
    • HorizontalGauge
    • Locator
    • Animator
    • Slider2D
    • ColorSlider
    • Control
    • LocatorPane
    • ControlsRendering
  • Related Guides
    • Control Objects
    • Form Structure & Layout
    • Options & Styling for Interactive Manipulation
    • Dynamic Visualization
    • Creating Form Interfaces & Apps
    • Dynamic Interactivity Language
    • Interactive Manipulation
    • Creating Inspectors
  • Workflows
    • Make Forms with Sliders and Other Controls
    • Build a Manipulate
  • Tech Notes
    • Introduction to Dynamic
    • Introduction to Control Objects
    • Generalized Input
    • See Also
      • VerticalSlider
      • IntervalSlider
      • Manipulator
      • ProgressIndicator
      • HorizontalGauge
      • Locator
      • Animator
      • Slider2D
      • ColorSlider
      • Control
      • LocatorPane
      • ControlsRendering
    • Related Guides
      • Control Objects
      • Form Structure & Layout
      • Options & Styling for Interactive Manipulation
      • Dynamic Visualization
      • Creating Form Interfaces & Apps
      • Dynamic Interactivity Language
      • Interactive Manipulation
      • Creating Inspectors
    • Workflows
      • Make Forms with Sliders and Other Controls
      • Build a Manipulate
    • Tech Notes
      • Introduction to Dynamic
      • Introduction to Control Objects
      • Generalized Input

Slider

Slider[x]

represents a slider with setting x in the range 0 to 1.

Slider[Dynamic[x]]

takes the setting to be the dynamically updated current value of x, with the value of x being reset if the slider is moved.

Slider[x,{xmin,xmax}]

represents a slider with range xmin to xmax.

Slider[x,{xmin,xmax,dx}]

represents a slider that jumps in steps dx.

Slider[x,{{e1,e2,…}}]

represents a slider in which equally spaced intervals correspond to successive settings ei.

Slider[x,{{{e1,w1},{e2,w2},…}}]

uses intervals of relative widths wi for the ei.

Details and Options

  • Slider[…] displays in a notebook as a horizontal slider that can be manipulated interactively.
  • Slider[Dynamic[x]] will reset the value of x when the slider is moved; Slider[x] will not.
  • Slider[n,{nmin,nmax,dn}] jumps to integer positions if nmin and dn are integers. »
  • Slider[x,{xmin,xmax,dx}] in general jumps to positions given by Range[xmin,xmax,dx]. »
  • Slider[x] represents a slider running from left to right.
  • Slider[x,{xmax,xmin}] with xmax > xmin represents a slider running from right to left. »
  • If the value of the slider is outside the range given, it will be displayed at one of the ends.
  • Slider[x,{0,1,dx}] displays at position x, even if this is not a multiple of dx.
  • In Slider[x,{{e1,e2,…}}], the ei can be any expressions, not just numbers. »
  • The following options can be given:
  • Appearance Automaticthe overall appearance of the slider
    AutoAction Falsewhether to move the slider automatically when the mouse is over it
    BaselinePosition Automaticalignment relative to surrounding text
    BaseStyle{}base style specifications for the slider
    ContinuousAction Truewhether to update continuously when the slider is moved
    Enabled Automaticwhether the slider is enabled or grayed out
    Exclusions {}specific values to be excluded
    ImageMargins 0margins around the image of the displayed slider
    ImageSize Automaticthe overall image size of the displayed slider
  • Possible settings for Appearance include Tiny, Small, Medium, and Large, as well as typically some other settings such as "UpArrow" and "DownArrow".
  • Appearance->"Labeled" displays the current value of the slider as an editable label.
  • The settings for BaseStyle are appended to the default style typically given by the "Slider" style in the current stylesheet.
  • Slider[] is equivalent to Slider[0.5].
  • The resulting slider can be finely manipulated by holding down the key (or on Macintosh) while dragging the mouse. This causes the slider to move at 1/20 the rate of the mouse. The slider can be even more finely manipulated by also holding the and/or keys.

Examples

open all close all

Basic Examples  (3)

A slider set at in the default range to :

A slider with its value updated dynamically:

A slider with integer values in the range to :

Scope  (5)

Use the range to , increasing when going from left to right:

A slider with range to , increasing when going from right to left:

Use only integer variable values:

Use rational steps:

Use slider increments of π:

Use a symbolic range:

Use a list of possible values:

Change the relative width corresponding to each possible value:

Options  (20)

Appearance  (4)

Different sizes:

Add a label:

Special arrow appearances are available on some platforms:

Use dynamic appearance, based on whether Round[x] is or :

AutoAction  (2)

By default, no slider values change until you click in the slider area:

By setting AutoAction, the slider values change as the mouse moves over the slider area:

Background  (2)

Change the background colors:

Change the background color dynamically:

BaselinePosition  (2)

Align with the surrounding text:

Dynamically change the baseline position:

ContinuousAction  (2)

By default, variables are continuously updated:

Setting ContinuousAction to False makes variables update only when the slider is released:

Enabled  (2)

By default, Slider is enabled:

By setting Enabled->False, the slider is disabled but visible in its current state:

Exclusions  (1)

Exclude values from the range:

ImageMargins  (1)

By setting ImageMargins, you make the slider area larger:

ImageSize  (4)

Use preset values:

Or use any values:

By setting the second element, you can also control the height reserved by the slider:

A fully custom image size:

Applications  (2)

Selecting the n^(th) prime:

Selecting the n^(th) digit in the decimal expansion of π:

A color selector:

Possible Issues  (1)

Appearances provided by the operating system may be different or unavailable on other platforms:

Generic appearances are available on all platforms:

Neat Examples  (1)

Randomly sized sliders:

See Also

VerticalSlider  IntervalSlider  Manipulator  ProgressIndicator  HorizontalGauge  Locator  Animator  Slider2D  ColorSlider  Control  LocatorPane  ControlsRendering

Tech Notes

    ▪
  • Introduction to Dynamic
  • ▪
  • Introduction to Control Objects
  • ▪
  • Generalized Input

Related Guides

    ▪
  • Control Objects
  • ▪
  • Form Structure & Layout
  • ▪
  • Options & Styling for Interactive Manipulation
  • ▪
  • Dynamic Visualization
  • ▪
  • Creating Form Interfaces & Apps
  • ▪
  • Dynamic Interactivity Language
  • ▪
  • Interactive Manipulation
  • ▪
  • Creating Inspectors

Related Workflows

    Related Workflows
    ▪
  • Make Forms with Sliders and Other Controls
  • ▪
  • Build a Manipulate

Related Links

  • Fast Introduction for Programmers: Interactive Interfaces

History

Introduced in 2007 (6.0) | Updated in 2008 (7.0)

Wolfram Research (2007), Slider, Wolfram Language function, https://reference.wolfram.com/language/ref/Slider.html (updated 2008).

Text

Wolfram Research (2007), Slider, Wolfram Language function, https://reference.wolfram.com/language/ref/Slider.html (updated 2008).

CMS

Wolfram Language. 2007. "Slider." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/Slider.html.

APA

Wolfram Language. (2007). Slider. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Slider.html

BibTeX

@misc{reference.wolfram_2025_slider, author="Wolfram Research", title="{Slider}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Slider.html}", note=[Accessed: 01-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_slider, organization={Wolfram Research}, title={Slider}, year={2008}, url={https://reference.wolfram.com/language/ref/Slider.html}, note=[Accessed: 01-December-2025]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Player
  • Wolfram Engine

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2025 Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English