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.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_rockyroad_tools-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8dd6aee6469f85eb755933117255cc2332dea69c4aa9731fa51247a869622c6
MD5 557351d9738a3aa6ee12f308150ee47d
BLAKE2b-256 1d3fbad92e02d1a6a26e4b6038be8524b6f4470bbb348d8bf2b87c00d172edf6

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