Hi,
I just finished creating a card component for streamlit,
It also supports delta values and progress bars,
pip install st-card
from st_card import st_card
st_card('Completed Orders', value=76.4, show_progress=True)
Hoping to see some cool apps built with this
Thanks,
Akshansh
16 Likes
Ah, this is so cool @akshanshkmr ! Thank you
Iâll make sure to use it !
3 Likes
Thatâs a lovely and useful new component (another one! )
Thanks for creating it and sharing it with the community, Akshansh!
Best,
Charly
3 Likes
Nice!
Could you add your component to the tracker Streamlit Components - Community Tracker - Show the Community! - Streamlit ? So w donât lose it in the forum?
Thanks, one day I should build a Discourse bot for this
Fanilo
5 Likes
Awesome @akshanshkmr , the card looks really cool.
May I make a suggestion: is there a way to change the cardâs background colour?
Thank you for this lovely component.
2 Likes
Hi @Shawn_Pereira
I made the background colour dependent on the app theme, but surely i can add an argument for it in the next version.
Thanks for the suggestion,
Akshansh
1 Like
asehmi
October 1, 2021, 11:26pm
8
@akshanshkmr - Nice to see you having loads of fun Streamlitinâ Great component.
Thanks,
Arvindra
3 Likes
arky
October 6, 2021, 6:22pm
9
Thank you for creating this ! Kudos
2 Likes
Thanks @arky and welcome to the communityđ
1 Like
Hello, can you make a serious tutorials to teach us to make streamlit component and publish them.
more simple will be more popular.
Thank you.
1 Like
Hi,
Streamlitâs youtube channel has a great 2 part series on this very topic.
You can check it out.
Thanks,
Akshansh
1 Like
BeyondMyself ć´ťčˇç¨ćˇ
1 ĺé
I had saw that, it is not easy for me to understand that.
I hope we can have more simple tutorials.
1 Like
Oh, okay
Maybe @Charly_Wargnier can pass on the feedback to the dev team.
Thanks,
Akshansh
1 Like
how can we control the digits of decimal values? If I want to show a value of 2.1322, how can we do that?
1 Like
Hi @Shikun_Chen ,
This is not currently supported, I can implement it in the next version
Thanks for the suggestion
Akshansh
1 Like
Hey @BeyondMyself you can also try https://streamlit-components-tutorial.netlify.app/ .
Maybe if we were to make a more specific components tutorial, what resonates with you and what needs more clarity for you in those tutorials?
Fanilo
2 Likes
Thank you. I will learn it carefully.
1 Like
Hey @akshanshkmr ,
This component is something I have been waiting for a long time.
I once implemented something similar. The challenge is
to make it stackable with other streamlit components as well.
For example, could you include a âst.image()â as a value?
Just a suggestion you could consider .
EDIT:
I totally forgot to mention that return events from on_click on/in elements of the card would be
something wanted to!
Best regards
Chris
Thanks for the suggestions chris,
Iâll definitely experiment apong these lines
Thanks,
Akshansh
1 Like