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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dex_framework-0.0.46.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.46.tar.gz
Algorithm Hash digest
SHA256 e6c8382b647b0c3afe88b50eeead72e6dcc0692774c9c7c95994cc45be1e7872
MD5 7df4e532b1eea842c57f12cb6edd5de8
BLAKE2b-256 3b4b09102a96a3c7f4be2d2b04526a1d4b160d5de6549d8674476efc75c88e2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dex_framework-0.0.46-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.46-py3-none-any.whl
Algorithm Hash digest
SHA256 4f4a2163833610002fb31997ec34a2bba6170d03e481fab97a36fe5638a2fbdd
MD5 abdd899e4c7e7069ef48ba41edf4fd91
BLAKE2b-256 2b85cbafb4070bcf8b88de7676b27544a2ea1cb6a083179f37705e96bc15dd03

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