resizable-panels
A Reflex custom component resizable-panels.
Installation
pip install reflex-resizable-panels
Usage
from reflex import rx
from reflex_resizable_panels import resizable_panels as rzp
def index():
return rx.box(
rzp.group(
rzp.panel("Header", default_size=20, min_size=20),
rzp.handle(),
rzp.panel(
"Content",
background_color=rx.color("gray", 10),
default_size=80,
min_size=20,
),
),
width="100vw",
height="100vh",
)
API
PanelGroup
children: List ofPanelandHandlecomponents.auto_save_id:str- ID to save the layout in LocalStorage.direction:Literal["horizontal", "vertical"]- Direction of the panels. Default ishorizontal.onLayout: Called when group layout changes.
Panel
children:Component- Content of the panel.default_size:int- Default size of the panels.min_size:int- Minimum size of the panels. Default is10.max_size:int- Maximum size of the panels. Default is100.collapsible:bool- IfTrue, panel can be collapsed by resizing belowmin_size.collapsed_size: The size of the panel when it is collapsed. Default is0.order:int- Order of the panel in the group. Required when using panels inrx.cond
Disclaimer:
Resizable panels don't work when used inside
rx.container. However,rx.containerinside resizable panels do work.
Metadata
Release files for reflex-resizable-panels 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reflex_resizable_panels-0.0.1.tar.gz | 2.9 kB | Without provenance | Details for reflex_resizable_panels-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reflex_resizable_panels-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for reflex_resizable_panels-0.0.1-py3-none-any.whl |
Total release size: 6.2 kB
Release files / reflex_resizable_panels-0.0.1.tar.gz
| Download URL | reflex_resizable_panels-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c1401ce949b0c4a49b781bb138ecbd34d329dc399ecddd523238ba977dbfe1f
|
|
BLAKE2b-256 checksum How to use checksums |
f877baf997a0f5a24e59f4b75f88accdbcfaf72f5ee7247cfa9f3e90e546833d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / reflex_resizable_panels-0.0.1-py3-none-any.whl
| Download URL | reflex_resizable_panels-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6f8c3f66fa39efb29cf2b85445694c9b1f09461ce153ef97cd9a41e34a686d7
|
|
BLAKE2b-256 checksum How to use checksums |
c6eb9b9d5b97f985526f1a3a5869a47bce524def87e9d75834fefa4ecd6da3ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for reflex-resizable-panels 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.