Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mskrasnov/sapphire_ui

Themed UI components for Iced
https://github.com/mskrasnov/sapphire_ui

graphics iced interface rust ui user-interface

Last synced: 29 days ago
JSON representation

Themed UI components for Iced

Awesome Lists containing this project

README

        



Sapphire UI Kit


Create minimalistic GUIs with Rust, Iced and Sapphire UI Kit!



Documentation (latest release)
|
Widget Gallery
|
Examples
|
Support me!


## About

Sapphire UI Kit contains new themed components for [Iced](https://iced.rs). Sapphire UI Kit is primarily focused on the regular desktop (Linux, Windows, macOS).

![](assets/demo.png)

Unlike modern libraries for creating graphical interfaces, Sapphire UI does not suffer from excessive gigantism: the design style of widgets is chosen so that widgets look neat and minimalistic. Programs written with Sapphire UI can fit even on screens with a small resolution.

## Structure

The Crate is divided into two large parts: [`theme`](src/theme.rs) and [`widgets`](src/widgets.rs). The `theme` module contains only a styles, while `widgets` contains implementations of these widgets (as functions). Most functions are wrappers over Iced functions, but with modified styles applied. Sometimes it is allowed to change other non-styles parameters (such as widget sizes, fonts, etc.).

## Features

- `svg` - enables SVG support, adds `sapphire_ui::widgets::svg` widget;
- `qr_code` - enables QR-code generation support, adds `sapphire_ui::widgets::qr_code` widget;
- `iced_aw` [WIP] - emables additional widgets (from `iced_aw` crate) support;

## Installation

```toml
sapphire_ui = "0.1.0"
```

## Used in projects

- [resistor](https://github.com/mskrasnov/resistor) - Программа для вычисления сопротивления резисторов по цветам их маркировки;
- [Cavaletto](https://github.com/mskrasnov/cavaletto) - AI program for image generation;

## Support me

- Use [Boosty](https://boosty.to/linux-for-arm/donate)

## License

Sapphire UI Kit distributed under MIT license.