8 releases (4 breaking)

0.9.3 May 8, 2024
0.8.0 Feb 25, 2024
0.7.0 Aug 30, 2023
0.6.0 Jul 28, 2023
0.2.0 Jun 20, 2022

#27 in GUI

Download history 1669/week @ 2024-03-03 1427/week @ 2024-03-10 1402/week @ 2024-03-17 1450/week @ 2024-03-24 1036/week @ 2024-03-31 648/week @ 2024-04-07 1836/week @ 2024-04-14 1369/week @ 2024-04-21 1118/week @ 2024-04-28 1486/week @ 2024-05-05 948/week @ 2024-05-12 871/week @ 2024-05-19 1043/week @ 2024-05-26 968/week @ 2024-06-02 1152/week @ 2024-06-09 871/week @ 2024-06-16

4,227 downloads per month
Used in 9 crates

MIT license

6.5MB
40K SLoC

Iced - Additional Widgets

Documentation Crates.io License

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.12.0"
iced_aw = { version = "0.9.3", default-features = false, features = [...] }

Versioning

iced version iced_aw version
0.8 0.4
0.9 0.5
0.10 0.6, 0.7
0.12 0.8, 0.9

Widgets

Badge

Badge showcase

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

Enable this widget with the feature badge.

Card

Card showcase

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

Enable this widget with the feature card.

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 Element showcase

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

Enable this widget with the feature floating_element. This will be depreciated in the next Release in palce of using the stack widget

Modal

Modals are useful 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. This will be depreciated in the next Release in palce of using the stack widget

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

SelectionList

A selection space to show any options passed in.

SelectionList showcase

Enable this widget with the feature selection_list.

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.

Menu

Menu showcase

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

Enable this widget with the feature menu.

You might also want to enable the feature quad for drawing separators.

Slide Bar

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

Enable this widget with the feature slide_bar.

Context Menu

See the example here

Drop Down Menu

See the example here

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.

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.

Dependencies

~22–62MB
~1M SLoC