Skip to main content

textual-slidecontainer

badge badge badge badge badge

This is a library that provides a custom container (widget) called the SlideContainer.

It is designed to make it extremely simple to implement sliding menu bars in your Textual apps.

Features

  • Usage is a single line of code with the default settings. Everything is handled automatically.
  • Set a precise dock position - The dock position argument adds topleft, topright, bottomleft, and bottomright to Textual's 4 arguments of top, bottom, left, and right for 8 dock positions total.
  • Set the slide direction - Containers can slide to the left, right, top, or bottom. This can be changed or tweaked independently of the dock position (For example, dock to bottom right, then you can slide down or slide right.)
  • Enable or disable Floating mode - With a boolean, containers can switch between floating on top of your app, or being a part of it and affecting the layout.
  • Set the default state - Containers can be set to start in closed mode.
  • Set the container to dock as an initialization argument.
  • Floating containers automatically dock to the edge they move towards (this can be changed).
  • Change how the animation looks with the duration, fade, and easing_function arguments.
  • Included demo application which has comments in the code.

Demo App

If you have uv or pipx, you can immediately try the demo app:

uvx textual-slidecontainer
pipx run textual-slidecontainer

Documentation

Click here for documentation

Video

Your browser does not support the video tag.

Questions, Issues, Suggestions?

Use the issues section for bugs or problems, and post ideas or feature requests on the TTY group discussion board.

Metadata

Release files for textual-slidecontainer 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for textual-slidecontainer 1.0.0
File Size Uploaded
textual_slidecontainer-1.0.0.tar.gz 119.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for textual-slidecontainer 1.0.0
File Interpreter ABI Platform
textual_slidecontainer-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 130.1 kB

Release files / textual_slidecontainer-1.0.0.tar.gz

Download URL textual_slidecontainer-1.0.0.tar.gz
Size 119.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7aa4688d07ba7331c3a990f6e3beb067172d6387df62fb0aa7a3a285822e0812
BLAKE2b-256 checksum
How to use checksums
20a45158103fab36bf3402aa8985d2cfca40bf4926d842d69197c89191b05cd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2025.

Transparency log

Release files / textual_slidecontainer-1.0.0-py3-none-any.whl

Download URL textual_slidecontainer-1.0.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dda5cd2e9c8a0eaaedbeb2af74dcae360759469d1f1e79fee476a9abdb9b4af8
BLAKE2b-256 checksum
How to use checksums
e91cf4854aa8d0e1c43e1b64ddd3932236c64c519deade263b2fbc0795a97868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page