搜索插件、代码仓与 APP 分类

GitHub 代码仓opxica/modular-ui

modular-ui

使用 Modular UI 的灵活构建模块,快速创建一致且响应式的跨平台 Flutter 应用界面。

modular-ui 项目封面
星标
260
复刻
26
最近推送(UTC)
2024年5月21日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

ModularUI : Pre-built beautiful flutter widgets Inspired by material-tailwind and shadcn/ui

Modular UI Badge Github Badge Twitter Badge Discord Badge

Craft beautiful, accessible, and responsive Flutter UIs with a Modular-UI Design-inspired component library


How to use

Installation

Run this command in your terminal

flutter pub add modular_ui
Import

Add this line to import the package.

import 'package:modular_ui/modular_ui.dart';

Modular UI Widgets:

Primary Cards

Image 2 Image 3 Image 5 Image 1 Image 4

Carousels

Gif 1 Gif 2 Gif 5
Gif 4 Gif 6 Gif 3

Buttons

Image 2 Image 3

Tab Bar

Image 2

Dialog Box

Image 2

Sliders

Image 2

Switch

Image 2

Our Widget Catalog

Cards
Buttons
Carousels
CheckBox
Dialogs
Footers
Input Fields
List Tiles
Rating Bars
Switch
Slider
Tabs

Code Samples

Buttons

Primary Button

 MUIPrimaryButton(
      text: "Primary Button",
      onPressed: () => onButtonPressed("Primary Button"),
    ),
Cards

Primary Card

  MUIPrimaryCard(
          title: 'UI/UX Review Check',
          description:
              'The place is close to Barceloneta Beach and bus stop just 2 min by walk and near to "Naviglio" where you can enjoy the main night life in Barcelona',
          image: Image.network(
            'https://images.unsplash.com/photo-1540553016722-983e48a2cd10?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=80',
            fit: BoxFit.cover,
          ),
          buttons: [
            MUIPrimaryButton(
              text: 'Read More',
              onPressed: () {},
            ),
          ],
        ),
Carousal

Primary Carousal

  MUICarousel(
            images: [
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png",
              "https://github.com/shadcn.png"
            ],
            indicatorType: CarouselIndicatorType.dot,
            duration: Duration(seconds: 2),
          ),

For more code samples, you can head on to our documentaion at . https://modularui.site


Features

  • Comprehensive Modular-UI Design components: Build modern and feature-rich interfaces with a wide range of buttons, cards, forms, navigation elements, and more.
  • Highly customizable: Tailor components to your exact needs with extensive styling options.
  • Responsive design: Ensure optimal UI experiences across different screen sizes.
  • Accessibility focus: Built with accessibility in mind, adhering to best practices.
  • Lightweight and performant: Efficiently crafted for smooth user interactions.

Additional Features

  • Custom themes and color palettes: Define your own visual style for a cohesive look.
  • Dark mode support: Seamlessly adapt your UI to user preferences.

Contributing

Calling on all the trendsetting Flutter enthusiasts! ❤️‍🔥 Join forces as we pioneer the creation of the ultimate, expansive, and seamless UI Library for Flutter. Let's make waves together! 🚀 Please refer to our contribution guidelines for details and don't forget to drop a Hi at discord


Opxica GitHub avatar
GitHub 作者

Opxica ↗

语言DartC++CMakeHTMLSwiftCKotlinObjective-C

分类

此仓库发布的插件

使用的依赖

依赖清单 3 项

  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_lints开发依赖^3.0.1

所在榜单

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗