Registry / devops / panel-material-ui

panel-material-ui

JSON →
library0.12.0pypypi✓ verified 88d ago

Panel Material UI is an extension for Panel that brings Material UI components to Panel dashboards. It provides a set of Material Design widgets and layouts for building interactive web apps. Current version is 0.12.0, with frequent releases aligned with Panel updates.

pip install panel-material-ui
INSTALL
IMPORT
SIG · PANEL-MATERIAL-UI
P
panel-material-ui
devopspythonv0.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Button
✓ from panel_material_ui import Button
✗ from material_ui import Button
Package name is panel_material_ui, not material_ui.
Switch
✓ from panel_material_ui import Switch
✗ from panel_material_ui.widgets import Switch
Components are directly importable from the top-level package.

Simple app with a Material UI Button and Switch.

import panel as pn from panel_material_ui import Button, Switch pn.extension('material') btn = Button(label='Click me', button_type='primary') switch = Switch(value=False) pn.Row(btn, switch).servable()
Debug
Known issues
gotchaThe 'material' extension must be loaded via pn.extension('material') before using any Material UI components.
fix
Add 'pn.extension(\"material\")' at the top of your script.
affects: all
deprecatedSome older component names (e.g., 'MaterialButton') have been renamed to match the component class (e.g., 'Button').
fix
Use the current import paths: 'from panel_material_ui import Button'
affects: <0.10.0
gotchaNot all Panel themes are fully compatible with Material UI components.
fix
Stick to the default Panel theme or the 'material' theme for best results.
affects: all
breakingRequires Python >=3.10, Panel >=1.0. Older versions may cause import errors.
fix
Upgrade Python to 3.10+ and Panel to latest.
affects: >=0.12.0
Errors
Common errors & fixes
ImportError: cannot import name 'Button' from 'panel_material_ui'
Incorrect import path or missing dependency (panel).
fix
Use 'from panel_material_ui import Button' and ensure panel is installed.
ModuleNotFoundError: No module named 'panel_material_ui'
Library not installed.
fix
Run 'pip install panel-material-ui'
PanelMaterialUI requires the 'material' extension to be loaded.
Forgot to call pn.extension('material').
fix
Add 'pn.extension(\"material\")' before using any components.
Upgrade
Version history
0.12.0latest on PyPI · released Jun 4, 2026
Audit
Dependencies
panelrequiredCore dependency; panel-material-ui is an extension of Panel.
Agent activity
32 hits · last 30 days
node
30
OpenAI (training)
1
Resources
panel-material-ui — pip install panel-material-ui · libregistry