Socket
Socket
Sign inDemoInstall

streamlit-scrollable-textbox

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Protect your apps from supply chain attacks

Install

streamlit-scrollable-textbox

Scrollable textbox for Streamlit.

    0.0.3

Maintainers
1

Readme

Streamlit Scrollable Textbox

This repository contains a custom Streamlit component, that allows users to create scrollable textboxes of a defined height, to display long pieces of text on a Streamlit app while maintaining a desired layout.


To install the component, run the following command:
  pip install streamlit-scrollable-textbox

Importing and using the package in your Python project can be done as so:
  import streamlit-scrollable-textbox as stx

  stx.scrollableTextbox('My very long text.')

The parameters of the scrollableTextbox function are:
  • text (str): The text to be displayed. Line breaks and new lines can be added by including "\n" in the string.
  • height (int): The height of the scrollable area, in pixels. Default value is 100 px.
  • border (bool): Define whether the scrollable area should have a border or not.



FAQs


Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc