Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (10 loc) · 332 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 332 Bytes

A toggle switch widget for Streamlit

Toggle Switch

Usage

import streamlit as st
from streamlit_toggle import st_toggleswitch

awesomeness_enabled = st_toggleswitch("Enable awesomeness")
if awesomeness_enabled:
    st.write("Awesomeness has been enabled!")