✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Adding/Updating sliders dynamically

I have 3 tabs in my dash app and based on the tab selection I need to add 3 different sliders as their marks and values are different for each tab.
html.Div([
dcc.Tabs(id=“tabs-styled-with-props”, value=‘3’, children=[
dcc.Tab(label=‘Elementary School’, value=‘1’),
dcc.Tab(label=‘Middle School’, value=‘2’),
dcc.Tab(label=‘High School’, value=‘3’),
]),

When I select Highschool it should show a slider with Grades 9-12 and selecting middle school tab should display slider with grades 6-8 etc.

Is there a way to update the marks for a slider dynamically from the callback? or can we add a slider dynamically from the callback?