streamlit-cardselectable

Card that the user can select one of the available options. It was created as an alternative to the radio button.


License
MIT
Install
pip install streamlit-cardselectable==0.0.4

Documentation

streamlit-cardselectable: A flexible and extensible content container selectable in Streamlit! drawing

Installation

pip install streamlit-cardselectable

Usage

Currently, there is one function defined:

st_cardselectable(): In this function there are some params:

  • label: label name.
  • options: cards header.
  • explanation: card text.
  • default [optional]: index of the card that will be selected at the first moment.

Example

State: Initial

state_initial

State: Selected

drawing