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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dex_framework-0.0.44.tar.gz
  • Upload date:
  • Size: 58.9 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.44.tar.gz
Algorithm Hash digest
SHA256 256b8de8b66001d2e1b67f3e0ada3f2bcfbbd55b5954c9f3ba835f56d5a47436
MD5 d2b0f0dff6c39282d099df567616a78a
BLAKE2b-256 d1193ccb51661da82cbf076d50073a59fee99ff111d7519e70da2a0224652933

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dex_framework-0.0.44-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.13.3

File hashes

Hashes for dex_framework-0.0.44-py3-none-any.whl
Algorithm Hash digest
SHA256 99e8ae65272187983c9217860c69243a039e704fa070608b70dd09230f1d844a
MD5 1c4710414ac8849aa8bbfe50a3fbe0a0
BLAKE2b-256 43045d9685b1f3a2125ea48b9ba3f15199f8001c9ca95da27d004f0d8bbb45dc

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