Streamlit Components - Community Tracker

Hello guys,

I just created a way to attach keyboard shortcuts for your Streamlit buttons.

You can see it on Github

it’s easy to install through pip

Example usage:

import streamlit as st
from streamlit_shortcuts import add_keyboard_shortcuts

def delete_callback():
    st.write("DELETED!")

st.button("delete", on_click=delete_callback)

add_keyboard_shortcuts({
    'Ctrl+Shift+X': 'delete',
})

I noticed it was a recurrent problem and the solutions I found were incomplete, broken and often dirty.

So I hope you find this useful.

5 Likes

Hello thank you very much it’s super nice :slight_smile:
Ah yes, thanks for the suggestion, I’ll have a look.

1 Like

streamlit-g2: A visualization grammar based on G2 for streamlit. GitHub , Demo

2 Likes

Hi all,
Added Streamlit Chunk File Uploader.

2 Likes

Hi everyone,

Does anyone know how to create draggable buttons? How i can drag and drop a button? I know sac.buttons are really good, but i would love to have this function.

Thanks!!

2 Likes

I forgot to mention it here:

Streamlit PDF Viewer: A streamlit component to render and decorate PDF documents.

You can check it at work with our demo

5 Likes

If this post is inappropriate, please let me know and I will delete it immediately. Recently, there haven’t been any updates to the streamlit component gallery at all. Will the components registered here ever be featured in the component gallery? Despite being described as irregular, how often are updates made?

Hi @GracefulTabby,

That’s a question @Jessica_Smith may be able to answer :slight_smile:

Charly

1 Like

i cant see clearly, i cannot find a way to turn off dark mode in the discuss page

Click on your display photo on the top right > Profile > Preferences > Interface > Dark mode

1 Like

This component implements a selectbox that allows free text input. It is based on React-Select’s ‘Select’ component. Check it out! Feedback appreciated:

1 Like

Streamlit-router allows you to create truly production-level multi-page applications

3 Likes

New component: Streamlit-Molstar for visualisation and analysis of large-scale molecular data

2 Likes

New Component: Streamlit-antd allows you to easily integrate beautiful Antd components in streamlit

3 Likes

New Component: streamlit-phone-number provides an internationalized mobile phone number Input component

3 Likes

New Component: streamlit-iframe-autoresize allows the embedded subpage to automatically adjust its height

3 Likes

New Component: streamlit-embeded allows easy embedding of an HTML snippet and automatically adjusts the content height

2 Likes

New Component: streamlit-iframe-event converts window messages in iframes into component return values

2 Likes

New Component: streamlit-molecular-selection allow selecting atoms from molecules

3 Likes

New Component: Streamlit-CDN allows you to deploy multiple instances in K8S and host all Streamlit dependencies on your own CDN

3 Likes