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.4.tar.gz
(592.4 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_cardselectable-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ce8f64f38d5a5fe78ad306a2770f9a0052a4464aca4e22ee762f99d7d61969c |
|
MD5 | 70d5e7cdad63efe50c3db9daae93276e |
|
BLAKE2b-256 | bd19e27765e0b3a36706c4bbf0787a90fe93b35b4803834e273ed371ec9fc02a |
Close
Hashes for streamlit_cardselectable-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38248c09844834f65bf290d321e6b6ff412eb0f3bd0d7e463c1dd000abd367e2 |
|
MD5 | 8aef4ceaa8af077805b9cb41c4455cf5 |
|
BLAKE2b-256 | 6c94225ded2dee375d9ca7becada2485eecc83b59a7f56241db8a98cf39231b9 |