More Premium Hugo Themes Premium React Themes

St Card

Streamlit component for UI cards

St Card

Streamlit component for UI cards

Author Avatar Theme by gamcoh
Github Stars Github Stars: 135
Last Commit Last Commit: May 10, 2024 -
First Commit Created: Aug 8, 2025 -
St Card screenshot

Overview

The st-card Streamlit Component offers a versatile tool for creating user-friendly UI cards that enhance interactivity within your Streamlit applications. Designed by the creative minds at @gamcoh and @Pernod Ricard, this component allows developers to easily incorporate visually appealing cards that can respond to user actions. Whether for displaying images, text, or additional functionalities, st-card elevates the user experience by facilitating customizations and controls.

Features

  • Easy Installation: Install the st-card component with a simple pip command, making it accessible for all developers.
  • Local Image Support: Use local images without the need for URLs, giving you full control over image management.
  • Custom Click Handling: Implement callbacks to define user interactions when a card is clicked, enhancing engagement.
  • Dynamic Sizing: Adjust the card size to fit your layout needs effortlessly by utilizing the use_column_width=True option.
  • Editable CSS: Customize the appearance of your cards with editable CSS options for “card”, “title”, “text”, “filter”, and “div” to match your design aesthetics.
  • Multiple Descriptions: Provide various descriptions within a single card to present information clearly and effectively, catering to diverse user needs.