Skip to content

sfc-gh-acarson/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

Languages

  • Python 44.9%
  • TypeScript 37.4%
  • HTML 14.7%
  • Shell 3.0%