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.48.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.48-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dex_framework-0.0.48.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.48.tar.gz
Algorithm Hash digest
SHA256 42dcc6943802ae314a175a03011efbb5dc7a1ff88e513529776d7638b3609a1e
MD5 568013e29e314e091db8fc6797ed422b
BLAKE2b-256 2b8a28b2476419ec0e3119a4a91af390f160a26370a45932c0b22c80a9e86342

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dex_framework-0.0.48-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.48-py3-none-any.whl
Algorithm Hash digest
SHA256 ca4f1421dd2cb6782d25f500ffcf2f94b61d79296730102e9a9391b8add57bd4
MD5 56974e0f5c16b9d224dff3355dc1c732
BLAKE2b-256 22b6a110cc097c1fb129e6f74d6a5addc0a75860f9f5398648a06793b9af7f77

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