You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

streamlit-scrollable-textbox

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streamlit-scrollable-textbox

Scrollable textbox for Streamlit.


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

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc