Skip to main content

trame-mui: MUI (React) widgets for trame

trame-mui is the React equivalent of trame-vuetify: it wraps MUI (Material Design components for React, the direct analog of Vuetify for Vue) for trame applications running with client_type="react" (the native React client that ships with trame-client).

from trame.app import get_server
from trame.widgets import mui

server = get_server(client_type="react")

Not to be confused with trame-react, which embeds a Vue-rendered trame application inside a React application through an iframe.

Illustration of what can be done with trame and mui

Layout (mirrors trame-vuetify)

  • react-components/ - React components + install(registry) plugin, bundled with React as an external, and the Python class generator

  • src/trame_mui/module/ - module descriptor (serve/scripts/ styles/react_use) consumed by server.enable_module()

  • src/trame_mui/widgets/ - generated Python widget classes

Development

Build and install the Vue components

cd react-components
npm i
npm run build
cd -

Install the library

# Create venv and install all dependencies
uv sync --all-extras --dev

# Activate environment
source .venv/bin/activate

# Install commit analysis
pre-commit install
pre-commit install --hook-type commit-msg

License

trame-mui is made available under the MIT License.

Metadata

Release files for trame-mui 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 trame-mui 1.0.0
File Size Uploaded Provenance Actions
trame_mui-1.0.0.tar.gz 2.2 MB With provenance Details for trame_mui-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trame-mui 1.0.0
File Interpreter ABI Platform Actions
trame_mui-1.0.0-py3-none-any.whl Python 3 none any Details for trame_mui-1.0.0-py3-none-any.whl

Total release size: 4.5 MB

Release files / trame_mui-1.0.0.tar.gz

Download URL trame_mui-1.0.0.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
37a8a25a5f8829b057034fe5586ff2933176037078470ef5d63172e36c6e15e8
BLAKE2b-256 checksum
How to use checksums
fd34c9436545bfa0a6768cc9d745b19c1163ef37bbcaca6d2b6f7e3f26a2a6e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

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

Download URL trame_mui-1.0.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
94f92bc7bc98d9645fdfa9049ce8425a8970da4b8d808251ba9abdb268efca33
BLAKE2b-256 checksum
How to use checksums
655ce0556e8dddb2155489a16bf0b062b68793ed7fa09f7bd7ff138848f15454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Security for trame-mui 1.0.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for trame_mui-1.0.0.tar.gz

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 Sep 8, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

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