sudoevolve/material-components-qml
Über uns
Modular and customizable Material Design UI components for qml
Web- und App-EntwicklungWhat you can do
- Material Design 3 Components: A comprehensive library of reusable QML components styled according to MD3 specifications.
- Dynamic Color System: Integrated with Google's material-color-utilities (C++) to support dynamic color generation from seed colors (Wallpaper-based theming simulation).
- Desktop Widgets: A framework for creating and managing standalone desktop widgets (similar to Windows Gadgets or Rainmeter).
- Theming: Centralized Theme singleton for easy customization of typography, colors, and shapes.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalMaterial Design 3 for Qt Quick (QML)
This project implements Material Design 3 (Material You) components using Qt Quick (QML) and C++. It aims to provide a comprehensive set of UI components that follow the latest Google Material Design guidelines, complete with dynamic color support, adaptive layouts, and a desktop widget system.
MD3 Pro (Commercial)
MD3 Pro is built for enterprise-grade desktop apps where performance and developer efficiency matter.
- Pro Charts: interactive charts (zoom, pan, crosshair, high-volume data)
- DataGrid: enterprise table with virtualization (100k+ rows), sorting/filtering, column operations
- Hot Reload: live QML workflow for faster iteration
- Performance Monitor / Profiler: in-app performance overlay and diagnostics
- Commercial License + Priority Support
Buy / Learn more:
Preview
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Features
- Material Design 3 Components: A comprehensive library of reusable QML components styled according to MD3 specifications.
- Dynamic Color System: Integrated with Google's
material-color-utilities(C++) to support dynamic color generation from seed colors (Wallpaper-based theming simulation). - Desktop Widgets: A framework for creating and managing standalone desktop widgets (similar to Windows Gadgets or Rainmeter).
- Theming: Centralized
Themesingleton for easy customization of typography, colors, and shapes. - Cross-Platform: Built with Qt 6, supporting Windows, macOS, and Linux.
Available Components
Actions & Inputs
- Buttons:
Button,IconButton,FAB,SegmentedButton - Selection:
Checkbox,RadioButton,Switch,Slider,ComboBox - Text:
TextField - Pickers:
DatePicker,TimePicker,ColorPicker
Navigation
- Structure:
NavigationDrawer,NavigationBar,TopAppBar,SideSheet - Wayfinding:
Tabs,Breadcrumb - Menus:
Menu
Display & Feedback
- Containers:
Card,Carousel,Dialog,Chip - Status:
CircularProgress,LinearProgress,LoadingIndicator,ToolTip - Visuals:
Ripple - Utilities:
ScrollBar,DataTable
Project Structure
src/Core/: QML modulemd3.Core(components + Theme system) + C++ backend (md3Core).src/App/: Gallery appmd3.App(demo pages + desktop widgets) + executableappmd3.scaffold/: Python project scaffold (create_project.py+ templates).
Build & Run
Prerequisites
- Qt 6.8 or higher (Required for latest QML features)
- CMake 3.16+
- C++ Compiler (supporting C++17 or higher)
Build the Project
Clone the repository:
git clone https://github.com/sudoevolve/material-components-qml.git md3 cd md3Configure with CMake:
cmake -S . -B build -DCMAKE_BUILD_TYPE=ReleaseBuild:
cmake --build buildRun Example:
- Single-config generators (Ninja/Makefiles):
build/bin/appmd3(Windows:build/bin/appmd3.exe) - Multi-config generators (MSVC):
build/bin/Debug/appmd3.exeorbuild/bin/Release/appmd3.exe
- Single-config generators (Ninja/Makefiles):
Usage in Your Project
The recommended way is to vendor MD3 as source and build md3Core together with your app.
Option: Source Integration (Recommended)
Add MD3 Core to your project. Because md3Core is a static QML module, keep the archive loaded into your final executable so the embedded QML resources and singleton registrations are retained:
set(MD3_SOURCE_DIR "path/to/md3")
add_subdirectory("${MD3_SOURCE_DIR}/src/Core" md3Core_build)
if(MSVC)
target_link_libraries(your_app PRIVATE Qt6::Quick md3Core)
target_link_options(your_app PRIVATE /WHOLEARCHIVE:md3Core)
elseif(MINGW OR (UNIX AND NOT APPLE))
target_link_libraries(your_app
PRIVATE
Qt6::Quick
-Wl,--whole-archive
md3Core
-Wl,--no-whole-archive
)
elseif(APPLE)
target_link_libraries(your_app PRIVATE Qt6::Quick md3Core)
target_link_options(your_app PRIVATE "LINKER:SHELL:-force_load $<TARGET_FILE:md3Core>")
else()
target_link_libraries(your_app PRIVATE Qt6::Quick md3Core)
endif()
qt_import_qml_plugins(your_app)
qt_finalize_executable(your_app)
When loading QML from C++, include Qt's resource import path before loadFromModule():
QQmlApplicationEngine engine;
engine.addImportPath("qrc:/qt/qml");
engine.loadFromModule("your.module", "Main");
QML Usage
In your QML files, import md3.Core:
import QtQuick
import QtQuick.Window
import md3.Core
Window {
visible: true
width: 800
height: 600
color: Theme.color.background
Button {
text: "Hello MD3"
anchors.centerIn: parent
}
}
Desktop Widgets
The gallery app includes a desktop widget manager that can run QML widgets as standalone frameless windows.
- Manage: Create, pin, and organize widgets on your desktop.
Ähnliche Projekte entdecken
Wird geladen…





