I corrected a small issue with some imports for SpinButton.
An example of the COSMIC design system.
All the example code is located in the main file.
main
You can run it with cargo run:
cargo run
cargo run --package cosmic --release