Skip to content

Running complete examples

Component pages include the same docs/examples/<component>/main.go files used by compilation checks. UI code uses only the root package and official icons. Image/Avatar examples generate pixels themselves and need no external files.

In an empty directory, follow the quick start's go mod init and go get, copy an example to main.go, and run go run .. These are native window programs, not Go running in the browser.

Maintainers can run python scripts/check-docs.py <dxui-source> in the website root to compile every complete example and compare the public API snapshot. Successful compilation does not replace native interaction testing.