jui-0.1.1 has been yanked.
jui is a ui set based on slint
function soon
Supported components
| name | import example |
|---|---|
| Button | import { Button } from "@jui/button.slint"; |
| InputBase | import { InputBase } from "@jui/input/input_base.slint"; |
| Input | import { Input } from "@jui/input/input.slint"; |
| UnderlineInput | import { UnderlineInput } from "@jui/input/underline_input.slint"; |
Button example
Cargo.toml file :
[]
= "1.3.2"
[]
= "0.1.0"
= "0.1.1"
main.rs file :
include_modules!;
build.rs file :
view/main.slint file :
import { Button } from "@jui/button.slint";
export component App inherits Window {
min-width: 300px;
min-height: 300px;
Rectangle {
Button {
color: red;
}
}
}
More example
coming soon