Skip to content

sqlinsights/streamlit-toggle-switch

Repository files navigation

streamlit_toggle_switch

Creates a toggle switch with color and placement customizations.

filtering



Installation

pip install streamlit-toggle-switch

Usage

import streamlit as st
import  streamlit_toggle as tog

tog.st_toggle_switch(label="Label", 
                    key="Key1", 
                    default_value=False, 
                    label_after = False, 
                    inactive_color = '#D3D3D3', 
                    active_color="#11567f", 
                    track_color="#29B5E8"
                    )

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •