Skip to main content

A Material Design 3 component library built on top of Flet (Python/Flutter)

Project description

DEx-Framework

Material Design 3 component library for Python + Flet
Python 3.10+ · Flet 0.28.3+ · 20 components · 21 token families · 5 themes

Copyright © 2026 Almir J Gomes. Todos os direitos reservados.
Autor: Almir J Gomes · almir.jg@hotmail.com · Criado em: 03/2026


Installation

pip install DEx-Framework

Quick Start

import flet as ft
from DEx_Framework.foundations.components import DS_AppShell, DS_KPICard, DS_Button, SidebarItem
from DEx_Framework.foundations.tokens import TK_AppShellTokens, TK_KPICardTokens, TK_ButtonTokens

def main(page: ft.Page):
    shell = DS_AppShell(
        title="Data Platform",
        subtitle="Pipeline Monitor",
        icon=ft.Icons.STORAGE,
        token=TK_AppShellTokens.default,
        items=[
            SidebarItem(label="Dashboard", icon=ft.Icons.DASHBOARD),
            SidebarItem(label="Pipelines", icon=ft.Icons.SYNC_ALT),
        ],
        content=ft.Column([
            DS_KPICard(
                title="Active Pipelines",
                value="248",
                variation=12.5,
                trend="up",
                icon=ft.Icons.SYNC_ALT,
                token=TK_KPICardTokens.default,
            ),
            DS_Button(
                label="Run Pipeline",
                icon=ft.Icons.PLAY_ARROW,
                token=TK_ButtonTokens.filled,
            ),
        ]),
    )
    page.add(shell)

ft.app(target=main)

Components

Visual Foundations (Funda??es Visuais) ? 1 componente(s)

  • DS_Text

Layout & Structure (Layout e Estrutura) ? 6 componente(s)

  • DS_AppShell
  • DS_Header
  • DS_Sidebar
  • DS_Menu_NR
  • DS_Container
  • DS_Card

Data Input Controls (Controles de Entrada de Dados) ? 6 componente(s)

  • DS_TextField
  • DS_Dropdown
  • DS_Checkbox
  • DS_RadioGroup
  • DS_Search
  • DS_FilePicker

Actions & Commands (A??es e Comandos) ? 2 componente(s)

  • DS_Button
  • DS_TextLink

Navigation Components (Componentes de Navega??o) ? 3 componente(s)

  • DS_Tabs
  • DS_Stepper
  • DS_Timeline

Data Display & Visualization (Exibi??o e Visualiza??o de Dados) ? 4 componente(s)

  • DS_Table
  • DS_KPICard
  • DS_LineChart
  • DS_ProgressBar

Feedback & Status (Feedback e Status) ? 3 componente(s)

  • DS_Alert
  • DS_StatusChip
  • DS_Toast

Authentication & Session (Autentica??o e Sess?o) ? 2 componente(s)

  • DS_Login
  • DS_Login_Modal

Overlays & Dialogs (Sobreposi??es e Di?logos) ? 1 componente(s)

  • DS_Modal

Theming & Styling (Temas e Estiliza??o) ? 2 componente(s)

  • DS_ThemeManager
  • DS_ThemeList

Themes

from DEx_Framework.foundations.components import DS_ThemeManager

tm = DS_ThemeManager.get()
tm.apply(page, "dark")      # default | light | dark | demi_dark | system
tm.cycle(page)              # cycle through all themes

Token System

Every visual property is controlled by an immutable @dataclass(frozen=True) token.

from DEx_Framework.foundations.components import DS_Button
from DEx_Framework.foundations.tokens import TK_ButtonTokens

DS_Button(label="Save", token=TK_ButtonTokens.filled)
DS_Button(label="Delete", token=TK_ButtonTokens.danger)

Documentation

See Docs/design_system.md for the full technical reference.

Component groups: Docs/MD/Components_Groups.md

License

MIT — Copyright © 2026 Almir J Gomes · almir.jg@hotmail.com

Project details


Download files

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

Source Distribution

dex_framework-0.0.49.tar.gz (59.0 kB view details)

Uploaded Source

Built Distribution

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

dex_framework-0.0.49-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

File details

Details for the file dex_framework-0.0.49.tar.gz.

File metadata

  • Download URL: dex_framework-0.0.49.tar.gz
  • Upload date:
  • Size: 59.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for dex_framework-0.0.49.tar.gz
Algorithm Hash digest
SHA256 84a5c42a54d270aa3da8a0c183d8a69f34c45ed34f7e75593ed5701b91076062
MD5 62bea243546872652a1f403fc5fa3b9c
BLAKE2b-256 0867a1d07511e2c38aa9e98aa85c42e25950c1022417955042bdebd152e23f9d

See more details on using hashes here.

File details

Details for the file dex_framework-0.0.49-py3-none-any.whl.

File metadata

  • Download URL: dex_framework-0.0.49-py3-none-any.whl
  • Upload date:
  • Size: 101.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for dex_framework-0.0.49-py3-none-any.whl
Algorithm Hash digest
SHA256 996fa4be1cccd0a44161d403a3aceceef88ac2190ad5741ed4ac828c38616f31
MD5 4c3d0e31f8653ac513320022bc58b34a
BLAKE2b-256 55be346f7690904ed8114d5227628a12cdf767d611873c93a3db651ecd91f16c

See more details on using hashes here.

Supported by

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