Code Monkey home page Code Monkey logo

iced_aw's Introduction

Iced - Additional Widgets

This crate contains additional widgets for the GUI library Iced.

Every widget is hidden by a feature gate. This allows you to cherry pick the widgets you actually need.

Usage:

Include iced_aw as a dependency in your Cargo.toml:

[dependencies]
iced = "0.4.2"
iced_aw = { git = "https://github.com/iced-rs/iced_aw", branch = "main", default-features = false, features = [...] }

Why not Crates.io?

This crate is currently based on top of the master branch of Iced. Crates.io refuses crates that uses git repositories as their dependencies. Once Iced becomes stable, iced_aw will be published on Crates.io as well.

Widgets

Badge

Badge showcase

Please take a look into our examples on how to use badges.

Enable this widget with the feature badge. To enable predefined styles, enable the feature colors.

Card

Card showcase

Please take a look into our examples on how to use cards.

Enable this widget with the feature card. To enable predefined styles, enable the feature colors.

Color Picker

Color Picker showcase

Please take a look into our examples on how to use color pickers.

Enable this widget with the feature color_picker.

Date Picker

Modal showcase

Please take a look into our examples on how to use date pickers.

Enable this widget with the feature date_picker.

Floating Action Button

Floating Button showcase

Please take a look into our examples on how to use floating buttons.

Enable this widget with the feature floating_button. To enable predefined styles for buttons, enable the feature colors.

Modal

Modals are usefull for showing some content as an overlay on top. In combination with the Card widget, modals can be used to create some kind of dialog panels.

Modal showcase

Please take a look into our examples on how to use modals.

Enable this widget with the feature modal. To enable predefined styles, enable the feature colors.

NumberInput

Just like TextInput, but only for numbers.

NumberInput showcase

Please take a look into our examples on how to use number inputs.

Enable this widget with the feature number_input.

This widget does currently not support web

Split

A split divides the available space to display two different elements.

Split showcase

Please take a look into our examples on how to use Splits.

Enable Splits with the feature split.

This widget is currently not supporting web

TabBar and Tabs

Tabs showcase

Please take a look into our examples on how to use TabBars and Tabs.

Enable TabBars with the feature tab_bar and Tabs with tabs.

Time Picker

Modal showcase

Please take a look into our examples on how to use time pickers.

Enable this widget with the feature time_picker.

Quickstart features

Quickstart features are pretty handy to start and experiment having everything like colors or icons available. Nevertheless, it is recommended to disable these features once the GUI is ready for production and to only include the things you really need.

Color palette

This crate adds a predefined color palette based on the CSS color palette.

Enable colors with the feature colors.

Bootstrap icons

Thanks to Bootstrap, iced_aw now contains ~1,200 icons to be used in an Iced GUI.

Enable icons with the feature icons.

Note: the icon font with ~1,200 weights around 0.274 MB. This features should only be used for experimenting with all the icons.

iced_aw's People

Contributors

kaiden42 avatar genusistimelord avatar cupnfish avatar hangleang avatar yusdacra avatar luni-4 avatar emann avatar thenlevy avatar hecrj avatar luro02 avatar mon avatar

Stargazers

Shoaib Merchant avatar Sid avatar Ziloka avatar  avatar Bartłomiej Maryńczak avatar Cris.Q avatar Demna avatar 灰灰 avatar Rhett Harrison avatar Prefex avatar Media Explorer avatar Colin Kiama avatar Eduardo Flores avatar Nicolas Marshall avatar aisq2008 avatar 1634-5e avatar Joel Mueller avatar  avatar Willi Kappler avatar Jan Riemer avatar  avatar Victor avatar  avatar John Connolly avatar Johannes Vollmer avatar Nathan Fisher avatar icysong avatar Jan Ruzicka avatar

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.