Card that the user can select one of the available options. It was created as an alternative to the radio button.
Project description
streamlit-cardselectable: A flexible and extensible content container selectable in Streamlit!
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: Selected
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit_cardselectable-0.0.3.tar.gz
(592.2 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_cardselectable-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69abe19259aa4885a27de4f8387c1629d53d4ef7980f508eb7fa45dd80bb3a05 |
|
MD5 | b80ab07e9f017da0d630275fb1d4840d |
|
BLAKE2b-256 | 6f12b9597e1110ced31f48e5ef44b5f11efde7c96feb1655b40ed85341d4c14d |
Close
Hashes for streamlit_cardselectable-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a6221785b405ee2da8619dc2ed83a7857a47626fb03d60a95c3ac8e8970875a |
|
MD5 | cd7a2fdaff9358ce0f9cfac6db78f4bf |
|
BLAKE2b-256 | fdf4410930f710b1dabdcc2f2de14c9ece763cce163f955fb53cfa3c05faf0d1 |