百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

django-material

> 前端框架
开源

Django 材料设计

2.5K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Django 材料设计

⚠️ IMPORTANT: This project is under active development. APIs, components, and behavior may change between versions. Use for exploration and prototyping; evaluate carefully before production use.

Table of Contents

  • About
  • Features
  • Quickstart
  • Usage
  • Documentation & Demo
  • Contributing
  • License

About

Django Material brings Google's Material Design 3 to Django, offering both low-level UI components and full-featured CRUD/admin interfaces for rapid application development. Built on TailwindCSS and django-cotton, it delivers everything you need — from buttons and cards to list, create, update, and delete views — with minimal setup and zero frontend frameworks.

Our goal is to rethink UI component APIs for AI-assisted development: making them intuitive for developers, predictable for code generation tools, and streamlining the process of crafting interfaces by human or machine.

Features

  • Material Design 3 components: buttons, cards, forms, tables, navigation, and more
  • django-cotton integration: intuitive <c-button>, <c-card>, and other component tags
  • ️ No build step required: pre-built CSS and JS included for immediate use
  • Fully responsive & accessible: mobile-first design with ARIA support and keyboard navigation
  • SPA-like navigation: powered by Unpoly.js for seamless page updates
  • ️ Full CRUD & admin: ready-to-use list, create, update, and delete views with Material styling and simple customization
  • AI-first design: APIs optimized for AI-assisted generation and easy human coding
  • Easily customizable: override templates, tweak styles, or extend components
  • ⚡ Zero frontend frameworks: no React, Vue, or Angular dependencies

Quickstart

  1. Install via pip:
    pip install django-material
    
  2. Add to INSTALLED_APPS:
    INSTALLED_APPS = [
        # ...
        'material',
        # ...
    ]
    
  3. Collect static files (production):
    python manage.py collectstatic
    
  4. In your template:
    {% extends "material/base.html" %}
    {% block content %}
      <c-button.filled>Start Building</c-button.filled>
    {% endblock %}
    

Usage

  • Modify design tokens in material/assets/ and rebuild:
    npm run build:css
    npm run build:js
    
  • Develop with live reloading:
    npm run dev
    
  • Run tests:
    npm test
    
  • Lint and format:
    npm run lint
    npm run format
    

Documentation & Demo

Explore comprehensive docs and live demos at material.viewflow.io.

Contributing

Contributions are welcome! See [ISSUES.md] for bug reports and feature requests.

License

Licensed under AGPLv3 with Additional Permissions. See [LICENSE] and [LICENSE_EXCEPTION]. Commercial terms in [COMM-LICENSE].


Built with ❤️ by the Viewflow Team.

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Features
  • •Quickstart
  • •Documentation & Demo
  • •Contributing
  • •Material Design 3 components: buttons, cards, forms, tables, navigation, and more
  • •django-cotton integration: intuitive <c-button>, <c-card>, and other component tags
  • •️ No build step required: pre-built CSS and JS included for immediate use
  • •Fully responsive & accessible: mobile-first design with ARIA support and keyboard navigation
  • •SPA-like navigation: powered by [Unpoly.js] for seamless page updates
  • •️ Full CRUD & admin: ready-to-use list, create, update, and delete views with Material styling and simple customization

> 标签

JavaScriptadmincruddjangoform

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架