GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Start at the network index
  • 2plot.ai ๐Ÿš€๐Ÿ” Launched a Federated Network
  • Gifting $1,000 of Claude code
  • Getting Started
  • Component Reference
  • Basic Layouts
  • Borders & Sidebars
  • Theming
  • Callbacks
  • /llms-small.txt
  • /llms.txt
  • /llms-full.txt
  • https://2plot.ai
  • API

This view

  • Original page
  • New address

GeezerVison is showing flexlayout.2plot.dev โ€” flexlayout-dash โ€” resizable panel layouts for Dash ยท llms.txt

flexlayout-dash โ€” resizable panel layouts for Dash

flexlayout-dash โ€” IDE-style dockable, resizable and floatable window panels for Plotly Dash. Wraps FlexLayout-React with portal-based rendering, so drag-and-drop tabs, split panes, collapsible edge borders and pop-out windows all keep ordinary Dash callbacks working. By Pip Install Python.

IDE-style dockable, resizable, and floatable window panels for Plotly Dash.

flexlayout-dash wraps FlexLayout-React to give your Dash apps drag-and-drop tabs, splittable panes, collapsible border sidebars, and pop-out windows โ€” with seamless Dash Mantine Components light/dark theming and full callback support via portal-based rendering.

Drag a tab onto another panel, or onto an edge, and the dock rearranges. Nothing re-mounts, so callbacks inside a panel keep running.

# File: docs/home/example.py

"""Home-page demo: a three-panel dock with a collapsible left border.

Deliberately the shape a reader recognises from an editor โ€” a sidebar, a main
area, and a console underneath โ€” so the first thing on the page is the thing the
package does. Every panel is draggable; the left border collapses.
"""
import dash_mantine_components as dmc
from dash import html

import flexlayout_dash as dfl

model = {
    "global": {
        "tabEnableClose": False,
        "tabEnableFloat": True,
        # The border starts open so the sidebar is visible without a click.
        "borderAutoSelectTabWhenOpen": True,
    },
    "borders": [
        {
            "type": "border",
            "location": "left",
            "size": 200,
            "selected": 0,
            "children": [{"type": "tab", "name": "Explorer", "id": "home-explorer"}],
        }
    ],
    "layout": {
        "type": "row",
        "weight": 100,
        "children": [
            {
                "type": "column",
                "weight": 70,
                "children": [
                    {
                        "type": "tabset",
                        "weight": 65,
                        "children": [
                            {"type": "tab", "name": "app.py", "id": "home-editor"},
                            {"type": "tab", "name": "README.md", "id": "home-readme"},
                        ],
                    },
                    {
                        "type": "tabset",
                        "weight": 35,
                        "children": [
                            {"type": "tab", "name": "Console", "id": "home-console"}
                        ],
                    },
                ],
            },
            {
                "type": "tabset",
                "weight": 30,
                "children": [{"type": "tab", "name": "Preview", "id": "home-preview"}],
            },
        ],
    },
}


def _panel(*children):
    return dmc.Box(children, p="md", style={"height": "100%", "overflow": "auto"})


def _code(text):
    return dmc.Code(text, block=True, style={"fontSize": "0.8rem"})


component = dfl.DashFlexLayout(
    id="home-dock",
    model=model,
    useStateForModel=True,
    # The dock has no intrinsic height โ€” this is required, and it goes on the
    # component itself, never on a wrapper.
    style={"height": "460px"},
    children=[
        dfl.Tab(
            id="home-explorer",
            children=_panel(
                dmc.Text("EXPLORER", size="xs", fw=700, c="dimmed", mb="xs"),
                dmc.Stack(
                    [
                        dmc.Text("๐Ÿ“ src", size="sm"),
                        dmc.Text("๐Ÿ“„ app.py", size="sm", ml="md"),
                        dmc.Text("๐Ÿ“„ README.md", size="sm", ml="md"),
                    ],
                    gap=4,
                ),
                dmc.Text(
                    "Collapse this sidebar with the border tab on the left edge.",
                    size="xs", c="dimmed", mt="md",
                ),
            ),
        ),
        dfl.Tab(
            id="home-editor",
            children=_panel(
                _code(
                    "import flexlayout_dash as dfl\n\n"
                    "dfl.DashFlexLayout(\n"
                    '    id="dock",\n'
                    "    model=model,\n"
                    '    style={"height": "600px"},\n'
                    "    children=[dfl.Tab(id=..., children=...)],\n"
                    ")"
                )
            ),
        ),
        dfl.Tab(
            id="home-readme",
            children=_panel(
                dmc.Text("Two tabs share this tabset.", size="sm"),
                dmc.Text(
                    "Drag either one onto another panel โ€” or onto an edge โ€” and the "
                    "dock re-splits around it.",
                    size="sm", c="dimmed", mt="xs",
                ),
            ),
        ),
        dfl.Tab(
            id="home-console",
            children=_panel(
                _code("$ pip install flexlayout-dash\nSuccessfully installed flexlayout-dash")
            ),
        ),
        dfl.Tab(
            id="home-preview",
            children=_panel(
                dmc.Text("Preview", fw=600, mb="xs"),
                dmc.Text(
                    "Each panel is an ordinary Dash subtree rendered through a React "
                    "portal, so callbacks inside it keep firing โ€” even while the tab "
                    "is hidden behind another.",
                    size="sm",
                ),
                html.Div(
                    dmc.Badge("MIT ยท unlimited tabs", variant="light"),
                    style={"marginTop": "12px"},
                ),
            ),
        ),
    ],
)

Install

pip install flexlayout-dash
import flexlayout_dash as dfl

The Python import name is flexlayout_dash (as of 1.1.0); the PyPI package is flexlayout-dash.


Documentation

  • Getting Started โ€” your first dockable layout in a few lines.
  • Component Reference โ€” every prop on DashFlexLayout and Tab.
  • Basic Layouts โ€” rows, columns, nested splits, and multi-tab tabsets.
  • Borders & Sidebars โ€” collapsible left/right/bottom panels.
  • Theming โ€” automatic Mantine light/dark integration.
  • Callbacks โ€” reading layout state and driving content from callbacks.

Why flexlayout-dash?

  • Dockable & draggable โ€” rearrange tabs between tabsets by dragging.
  • Resizable & floatable โ€” drag splitters; pop tabs out into floating windows.
  • Border sidebars โ€” VS Code-style collapsible panels on the edges.
  • Theme-aware โ€” follows data-mantine-color-scheme automatically.
  • Callback-friendly โ€” portal-based rendering keeps tab content mounted so your

Dash callbacks keep working.

  • One build, no tiers โ€” no tab limit, no licence key, MIT licensed.

Source: /

Other sizes of this document

  • /llms-small.txt: compact briefing โ€” start here if context is tight. (3.6 KB, ~917 tok)
  • /llms.txt: this document โ€” the index you are reading. (14.3 KB, ~3.7k tok)
  • /llms-full.txt: every page's prose in one document โ€” 11 pages. (54.0 KB, ~13.8k tok)

Access policy

  • Terms: these documents are free to fetch. A free account unlocks any gated document.
  • Identity: agents may present a key by appending ?key=<value> to any document URL. Get one: https://2plot.ai
  • Rate: prefer ONE /llms-full.txt fetch over N per-page fetches. On 429, honour Retry-After and back off exponentially.
  • Coordination: start at https://2plot.dev/llms.txt โ€” one index enumerates every site; do not rediscover the network by crawling it.
  • Crawler policy (mirrors /robots.txt): allowed: GPTBot, ClaudeBot, CCBot, Google-Extended, FacebookBot, Omgili, ByteSpider, Amazonbot, Applebot-Extended, meta-externalagent, AI2Bot, Diffbot, Timpibot, ImagesiftBot, ChatGPT-User, Claude-User, Claude-SearchBot, PerplexityBot, OAI-SearchBot, Perplexity-User, Googlebot, Bingbot, Slurp, DuckDuckBot, GoogleOther, Google-InspectionTool, Storebot-Google, AdsBot-Google.
  • Accounting: every document read is logged with the requesting vendor (verified against published IP ranges where the operator publishes them). See https://2plot.dev/llms.txt

Pages

Every page in this application. Each has a Markdown version at the llms.txt URL beside it.

  • flexlayout-dash โ€” resizable panel layouts for Dash: flexlayout-dash โ€” IDE-style dockable, resizable and floatable window panels for Plotly Dash. Wraps FlexLayout-React with portal-based rendering, so drag-and-drop tabs, split panes, collapsible edge borders and pop-out windows all keep ordinary Dash callbacks working. By Pip Install Python.
  • Machine-readable: https://flexlayout.2plot.dev/llms.txt (14.3 KB, ~3.7k tok)
  • API: Component props reference for flexlayout_dash.
  • Machine-readable: https://flexlayout.2plot.dev/api/llms.txt (3.9 KB, ~992 tok)
  • Basic Layouts: Rows, columns, nested splits, and multi-tab tabsets.
  • Machine-readable: https://flexlayout.2plot.dev/basic/llms.txt (3.2 KB, ~822 tok)
  • Borders & Sidebars: Collapsible left, right, and bottom edge panels.
  • Machine-readable: https://flexlayout.2plot.dev/borders/llms.txt (3.2 KB, ~811 tok)
  • Callbacks: Read layout state and drive content from Dash callbacks.
  • Machine-readable: https://flexlayout.2plot.dev/callbacks/llms.txt (3.4 KB, ~858 tok)
  • Changelog: Version history of flexlayout-dash, rendered from CHANGELOG.md.
  • Machine-readable: https://flexlayout.2plot.dev/changelog/llms.txt (19.2 KB, ~4.9k tok)
  • Getting Started: Build your first dockable layout with flexlayout-dash.
  • Machine-readable: https://flexlayout.2plot.dev/getting-started/llms.txt (2.9 KB, ~740 tok)
  • Privacy: What flexlayout-dash stores about a visit, what it does not store, and where the numbers go โ€” described from the code that does it.
  • Machine-readable: https://flexlayout.2plot.dev/privacy/llms.txt (3.5 KB, ~900 tok)
  • Component Reference: Every prop on DashFlexLayout and Tab, plus the model schema.
  • Machine-readable: https://flexlayout.2plot.dev/reference/llms.txt (5.2 KB, ~1.3k tok)
  • Terms: Terms of use for flexlayout-dash: what this site is, what it is not, and the terms the documentation and its code examples are offered under.
  • Machine-readable: https://flexlayout.2plot.dev/terms/llms.txt (2.2 KB, ~558 tok)
  • Theming: Automatic Mantine light/dark integration.
  • Machine-readable: https://flexlayout.2plot.dev/theming/llms.txt (2.6 KB, ~668 tok)

About The 2plot network

Open-source Dash component libraries by Pip Install Python. Each component has its own documentation site and its own llms.txt; 2plot.dev indexes all of them, and 2plot.ai is the hub.

Network index: https://2plot.dev

Network

Other applications in this network. Same operator; each one serves its own /llms.txt in this format.

  • 2plot.ai: Network hub and account origin.
  • Machine-readable: https://2plot.ai/llms.txt
  • 2plot.dev: Package index for every open-source component in the network.
  • Machine-readable: https://2plot.dev/llms.txt
  • Documentation boilerplate: The markdown-driven documentation template every satellite site is built from.
  • Machine-readable: https://boilerplate.2plot.dev/llms.txt
  • dash-leaflet2: Leaflet 2 maps as Dash components.
  • Machine-readable: https://leaflet.2plot.dev/llms.txt
  • dash-mui-scheduler: MUI X Scheduler โ€” calendars and event scheduling for Dash.
  • Machine-readable: https://muischeduler.2plot.dev/llms.txt
  • dash-mui-charts: MUI X charts, tree views and time pickers for Dash.
  • Machine-readable: https://muicharts.2plot.dev/llms.txt
  • dash-improve-my-llms: The AI/LLM and SEO package every site in this network is built on.
  • Machine-readable: https://llms.2plot.dev/llms.txt
  • dash-flows: Node-graph editors built on React Flow.
  • Machine-readable: https://flows.2plot.dev/llms.txt
  • dash-pannellum: 360ยฐ panorama and virtual-tour viewer.
  • Machine-readable: https://pannellum.2plot.dev/llms.txt
  • dash-emoji-mart: Emoji picker component.
  • Machine-readable: https://emojimart.2plot.dev/llms.txt
  • dash-email: Email composition and delivery components.
  • Machine-readable: https://email.2plot.dev/llms.txt
  • dash-model-viewer: 3D model viewer with AR support, built on Google's model-viewer.
  • Machine-readable: https://modelviewer.2plot.dev/llms.txt
  • dash-excalidraw: Excalidraw virtual whiteboard and sketching canvas.
  • Machine-readable: https://excalidraw.2plot.dev/llms.txt

Related projects

Projects by the same author on their own domains. Built on the same stack, but not part of the primary network.

  • Pirate's Bargain: Deal aggregator built on the same Dash stack.
  • Machine-readable: https://piratesbargain.com/llms.txt
  • ai-agent.buzz: Agent tooling directory.
  • Machine-readable: https://ai-agent.buzz/llms.txt
  • 2plot.media: Media and streaming, on the same Dash stack.
  • Machine-readable: https://2plot.media/llms.txt

External references

Third-party documentation this project depends on or references. Not affiliated โ€” listed so an agent can follow a dependency directly instead of searching for it.

  • Dash Mantine Components: The UI component layer these docs are built with.
  • Machine-readable: https://www.dash-mantine-components.com/llms.txt
  • Plotly Dash documentation: Upstream framework documentation.
  • Machine-readable: https://dash.plotly.com/llms.txt
You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.