Hey Streamlit Community! 
Iโm thrilled to introduce Streamlit Knobs, a new Streamlit component that brings interactive knob controls to your Streamlit apps!
Why Streamlit Knobs?
While sliders and dropdowns are excellent for basic input, certain applications demand more intuitive, tactile controls. Streamlit Knobs bridges this gap by offering an interactive knob interface thatโs perfect for audio tweaking, real-time parameter adjustments, and more.
Features at a Glance
Customizable Design
Fully customizable knobs with options to adjust size, colors, and styles to match your appโs aesthetics.Real-Time Feedback
Instant updates as you interact with the knob, providing a seamless experience.Dark Mode Ready
Beautifully integrates into dark-themed Streamlit apps.Advanced Controls
Configure min/max values, step sizes, and labels for precise adjustments.Lightweight and Fast
Built for performance, Streamlit Knobs ensures smooth rendering and interaction.
Quick Demo
Hereโs a glimpse of how easy it is to use Streamlit Knobs in your app:
pip install streamlit-knobs
# streamlit_nobes
import streamlit as st
from knobs import knob
knob_value = knob(knob_type="1",max_value=1000, min_value=0)
st.write(knob_value)
# Custom knob with advanced settings
value = knob(
label="Bass Control",
min_value=0,
max_value=5000,
step=1,
size="large",
initial_value=30
)
st.write(f"Bass Level: {value}")
Use Cases
- Audio processing apps for controlling levels, EQ, or filters.
- Parameter adjustments in simulations and models.
- Gaming or creative applications needing tactile controls.
Installation
Getting started is simple! Install the package via pip:
pip install streamlit-knobs
Links
Feel free to explore, experiment, and provide feedback! Contributions and feature suggestions are always welcome. Letโs make Streamlit apps even more interactive and fun!