teksilo-widgets-previewer-0.9.2 is not a library.
Teksilo's own widget previewer binary.
Run:
cargo run -p teksilo-widgets-previewer
cargo run -p teksilo-widgets-previewer -- --widget=button --variant=disabled
cargo run -p teksilo-widgets-previewer -- --file=crates/teksilo-widgets/src/button.rs
cargo run -p teksilo-widgets-previewer -- --list
cargo run -p teksilo-widgets-previewer -- --export-docs
--export-docs is the headless batch that fills docs/widgets/img/
with the pictures the generated mdBook catalog pages reference. It
needs a wgpu adapter but no display server.
The binary intentionally has no logic beyond delegation —
everything happens inside teksilo_preview_ui::run_previewer.
Downstream applications create their own analogous thin binary that
links their own widget set with the preview feature.