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.39.tar.gz (58.9 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.39-py3-none-any.whl (101.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dex_framework-0.0.39.tar.gz
Algorithm Hash digest
SHA256 be3031686aed54295fff7259fa2dad9a07c1eb3172753bda12459ecc5b717fa2
MD5 1b397b02010ed24d45b6790404a17c66
BLAKE2b-256 904b2df13a505cff051998e467593f707ee97ac1095e70bf91749d01f53cceaf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dex_framework-0.0.39-py3-none-any.whl
Algorithm Hash digest
SHA256 cba8cfac97be2b8f577ae12f9e157e6cce1dd93af249be897fe8c5ef8a11c451
MD5 a39266c100e6e554c2eb5a1a1d34fd0e
BLAKE2b-256 00b0edef8ffaa426ddb1e96200496631fdbe87af951c97b18ef9e548684871fd

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