Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mskrasnov/sapphire_ui
- Owner: mskrasnov
- License: mit
- Created: 2024-07-23T21:29:36.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-09-08T10:44:44.000Z (4 months ago)
- Last Synced: 2024-10-25T10:38:52.024Z (3 months ago)
- Topics: graphics, iced, interface, rust, ui, user-interface
- Language: Rust
- Homepage:
- Size: 5.87 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.