skillfed

streamlit-card

A streamlit component, to make UI cards

streamlit-card v1.0.2 282.4K downloads/30d#8,086 on PyPI136
Permissive license DORMANT released

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 on this page — 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

streamlit-card on PyPI

pip

pip install streamlit-card

uv

uv add streamlit-card

poetry

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 the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — streamlit
Maintenance dormant — 826 days since the last release
Last repo commit
First released
Downloads 282,443/month — #8,086 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: streamlit_card-1.0.2-py3-none-any.whl

Keywords: card, streamlit, streamlit-component

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

streamlit card componentstreamlit ui cardsclickable card widgetstreamlit image cardstreamlit component library
streamlit-componentui-widget

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

streamlit-image-coordinates

A Streamlit component that displays an image…

permissive · top 15,000 on PyPI

streamlit-pdf-viewer

Streamlit component that renders PDF documents…

unclear · top 15,000 on PyPI

streamlit-sortables

Streamlit Sortables adds drag-and-drop sortable…

permissive · top 15,000 on PyPI

streamlit-pdf

Adds a PDF viewer component to Streamlit apps…

permissive · top 15,000 on PyPI

streamlit-echarts

Renders interactive ECharts visualizations in…

permissive · top 15,000 on PyPI

streamlit-extras

Provides a collection of reusable UI components…

permissive · top 15,000 on PyPI

streamlit-vertical-slider

Adds a vertical slider widget to Streamlit apps…

unclear · top 15,000 on PyPI

streamlit-avatar

Renders clickable avatar icons with images,…

unclear · top 15,000 on PyPI

streamlit-embedcode

Embeds code snippets from external services…

unclear · top 15,000 on PyPI

streamlit-folium

Renders interactive Folium maps in Streamlit…

unclear · top 15,000 on PyPI