A showcase of custom widget implementations built entirely in Slint without using the built-in widget library.
This example implements a complete widget set from scratch, demonstrating how to build custom UI components using Slint's primitives:
- MdiWindow - Draggable, collapsible MDI-style windows with close buttons
- Button - Custom styled buttons with hover effects
- CheckBox - Animated checkbox with custom graphics
- RadioButton - Radio button implementation
- SelectableLabel - Clickable label that acts like a radio button
- Slider - Custom slider with track and handle
- Hyperlink - Clickable text that opens URLs
- DragValue - Numeric input that can be adjusted by dragging
- ProgressBar - Animated progress indicator
- LineEdit - Text input field (uses built-in TextInput)
- MDI (Multiple Document Interface) window management
- Custom theming via a
Paletteglobal - Touch/mouse interaction handling
- Animations and state transitions
- Path-based vector graphics for icons
cargo run -p fancy_demoOr with the viewer:
cargo run --bin slint-viewer -- examples/fancy_demo/main.slint