Skip to main content

panel-tiles

CI pypi-version python-version

A draggable, resizable grid layout for Panel applications (Muuri + interact.js).

Dashboard example

Installation

pip install panel-tiles

Quick Start

from panel_tiles import TileGrid

...

grid = TileGrid(
    objects=[
        revenue_ind,
        growth_ind,
        users_ind,
        retention_ind,
        pn.pane.Bokeh(line_fig),
        pn.pane.Bokeh(bar_fig),
        table,
    ],
    layout=[
        {"width": 25, "height": 100, "visible": True},
        {"width": 25, "height": 100, "visible": True},
        {"width": 25, "height": 100, "visible": True},
        {"width": 25, "height": 100, "visible": True},
        {"width": 50, "height": 300, "visible": True},
        {"width": 50, "height": 300, "visible": True},
        {"width": 100, "height": 250, "visible": True},
    ],
    sizing_mode="stretch_width",
    height=750,
)

pmui.Page(main=[grid], title="panel-tiles").servable()

Features

  • Drag-and-drop tile reordering
  • Resize tiles from the corner handle
  • Configurable layout with percentage widths and pixel heights
  • Responsive breakpoints with per-breakpoint layouts
  • Close buttons with hide or remove behavior
  • Persist user layouts to localStorage
  • Read-only mode for fixed dashboards
  • Dynamic add/remove of tiles at runtime

Development

Managed with pixi.

git clone https://github.com/panel-extensions/panel-tiles.git
cd panel-tiles

pixi run postinstall
pixi run compile
pixi run test

UI tests:

pixi run -e test-ui test-ui

License

See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panel_tiles-0.3.0.tar.gz (214.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panel_tiles-0.3.0-py3-none-any.whl (72.8 kB view details)

Uploaded Python 3

File details

Details for the file panel_tiles-0.3.0.tar.gz.

File metadata

  • Download URL: panel_tiles-0.3.0.tar.gz
  • Upload date:
  • Size: 214.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for panel_tiles-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e52dad3350d070f2d514d7213e7aabe5210ac9bcae63d80878581b85d5167602
MD5 dbd851e29a9de06331a2876735f050b3
BLAKE2b-256 a8d256ad505b54f270e56c9ee4a011f422e99ef5259b81a719e05a411491947c

See more details on using hashes here.

Provenance

The following attestation bundles were made for panel_tiles-0.3.0.tar.gz:

Publisher: build.yml on panel-extensions/panel-tiles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panel_tiles-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: panel_tiles-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 72.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for panel_tiles-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 770bf8c8979c58769ae3853bb2c0f07356550fb468166bc982d3a319086625d6
MD5 f5a177ecd80b7d60355efb0d2b4439c6
BLAKE2b-256 d12b6a511d75e411ff5a5fdacd9e755ada913664323eb003ad1a17ea8a9c0eb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for panel_tiles-0.3.0-py3-none-any.whl:

Publisher: build.yml on panel-extensions/panel-tiles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page