--- id: streamlit-card version: "1.0.2" license: unclear license_treatment: permissive maintenance: dormant --- # streamlit-card — A streamlit component, to make UI cards License: permissive · Maintenance: dormant · Downloads: 282.4K/mo ## What it is and what it does streamlit-card is a Streamlit component that adds card-based UI elements to your app. Each card displays a title, descriptive text, an optional image, and can be configured to navigate to a URL or trigger a callback when clicked. You import the card function and pass parameters for content and styling; the component returns a boolean indicating whether the card was clicked, letting you respond to user interaction. The package is designed for developers building Streamlit dashboards or data apps who want a polished, reusable card layout without writing custom HTML or CSS. It supports both remote and base64-encoded local images, customizable dimensions and styling via a styles dictionary, and multiple text descriptions. With only streamlit as a dependency and a permissive MIT license, it adds minimal overhead to your project. Use it for: - Build a gallery or portfolio view in a Streamlit dashboard where each card links to a resource or triggers an action. - Display product or service offerings in a Streamlit app with clickable cards that navigate or filter content. - Create a dashboard home screen with card-based navigation to different sections or reports. - Present data summaries or metrics in card format with custom styling to match your app's branding. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Streamlit component that renders interactive card UI elements with titles, text, images, and optional click handlers or URLs. Yes, if you are actively using Streamlit and need card UI components. The low install friction, permissive license, and straightforward API make it practical. However, maintenance is dormant since 2024-05-10, so if you encounter bugs or need features for very recent Streamlit versions, you may need to fork or patch it yourself. ## Install pip install streamlit-card uv add streamlit-card poetry add streamlit-card ## Installing streamlit-card Before you install: Low install friction; depends only on streamlit. Maintenance is dormant—last release was 2024-05-10, though the repository remains active with 136 stars and no archived status. License in practice: Licensed under MIT (permissive), so you can use, modify, and distribute this package with minimal legal restriction. Quickstart: pip install streamlit-card from streamlit_card import card hasClicked = card( title="Hello World!", text="Some description", image="http://placekitten.com/200/300", url="https://github.com/gamcoh/st-card" ) Requires Python >= 3.8 and a working Streamlit environment. Verify before relying: - Whether the component works reliably with recent Streamlit versions given the dormant maintenance status. - Whether custom CSS styling is fully stable across different Streamlit deployments. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 282.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags streamlit card component, streamlit ui cards, clickable card widget, streamlit image card, streamlit component library, streamlit-component, ui-widget [View on SkillFed](https://skillfed.io/packages/streamlit-card) · [View on PyPI](https://pypi.org/project/streamlit-card/)