Skip to main content

Streamlit RockyRoad Tools

Project description

Streamlit Rocky Road Tools

A collection of custom Streamlit components and tools.

Components

st_notification_bar

A customizable notification bar component for Streamlit applications.

Features:

  • Displays notification messages with optional "Learn more" links
  • Persistent dismissal using localStorage
  • Customizable styling with black background and styled buttons
  • React + TypeScript implementation
  • Full width layout within Streamlit constraints

Usage:

import streamlit as st
from st_notification_bar import st_notification_bar

st_notification_bar(
    message="This is a notification from our sponsors.",
    learn_more="https://example.com",
    key="my_notification"
)

Development

Each component has its own frontend directory with React/TypeScript source code.

To develop the notification bar:

cd st_notification_bar/frontend
npm install
npm start

Then run your Streamlit app in another terminal:

streamlit run st_notification_bar/my_notification_bar_example.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_rockyroad_tools-0.0.2-py3-none-any.whl (405.0 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_rockyroad_tools-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_rockyroad_tools-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7bb5c961441952d4fec6624928f61e26c1295b32499d809b5c6c91cc7f24cdf0
MD5 71358957ac0a75a06a6b5ef537b03cbb
BLAKE2b-256 aa326fc22b8e392c014a40ead6730e92b09c0647ca21c9a73f25362efe1516b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page