Giter Club home page Giter Club logo

compose-fluent-ui's Introduction

Compose Fluent logo Compose Fluent

License Version Maven Central

Fluent Design UI library for Compose Multiplatform

Example

Current Status

This library is experimental, any API would be changed in the future without any notification.

Please note that there are lots of hard-coding and workarounds in our source code, which we plan to eliminate in the future.

Thank you for using our library. We look forward to receiving your feedback and contributions!

Quick Start

Add Dependency

implementation("com.konyaco:fluent:0.0.1-dev.8")
implementation("com.konyaco:fluent-icons-extended:0.0.1-dev.8") // If you want to use full fluent icons.

Example

import com.konyaco.fluent.component.*

@Composable
fun App() {
  FluentTheme {
    Mica(Modifier.fillMaxSize()) {
      Column(Modifier.padding(24.dp)) {
        Button(onClick = {}) {
          Text("Hello Fluent Design")
        }
      }
    }
  }
}

See gallery module for more details.

  • FluentTheme() is the context and entry point of the application, just like MaterialTheme
  • Components are under component package
  • Mica and Layer are under background package

License

This library is under Apache-2.0 license.

The copyright of the icon assets (in com.konyaco.fluent.icons package) belongs to Microsoft.

Components

Layers

  • Mica
    • Simple Mica
    • Real Mica
  • Layer
    • Simple Layer
    • Real Layer
  • Acrylic
  • Card

Basic Components

  • Buttons

    • Button
    • AccentButton
    • SubtleButton
    • DropdownButton
    • HyperlinkButton
    • RepeatButton
    • ToggleButton
    • SplitButton
    • ToggleSplitButton
  • RadioButton

  • ToggleSwitch

  • CheckBox

    • TriStateCheckBox
  • ComboBox (Simple)

  • ProgressBar

  • ProgressRing

  • Slider

  • TextField

  • ColorPicker

  • RatingControl

  • Pill Button

Compound Components

  • CalendarView (Simple)
  • DateTimePicker (Simple)
  • Color Picker
  • Navigation
    • SideNav
    • BreadcrumbBar
    • Pivot
    • TabView
  • Tooltip
  • InfoBar
  • FilePicker
  • Menu

Dialogs

  • FluentDialog
  • ContentDialog
  • Flyout (Simple)

Animations

  • Animation Preset Constants (Duration, Easing Functions)

Theme

  • Light and Dark theme
  • Custom accent color

Accessibility

  • Accessibility Semantics

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.