API Reference
This section documents the public surface of the root vektra crate. VitePress explains concepts, behavior, and compiled examples; the complete Rust API (rustdoc) is the exhaustive symbol reference.
API Ownership
vektra::Button,Checkbox,Radio,RadioGroup,Switch,Input,IconButton,Tooltip, capability traits, theme APIs, and shared types are Vektra APIs documented here and in rustdoc.gpui::ClickEvent,Window,App, andContext<T>are GPUI APIs. Vektra uses them in callback signatures without copying their definitions; use the GPUI dependency type index for pinned source links.gpuiandgpui_platformare pinned to commitfd82517a115d97a07835b52f0512b22b38e38ccf. Links never target a driftingmainbranch.
Navigation
- Capability traits: Changeable, Clickable, Focusable, Disableable, Sizable
- Callback model and the
_inconvention - Vektra public type index
- GPUI dependency type index
Prefer the root vektra facade for application code. Internal workspace crates only need separate treatment for advanced direct-use cases such as asset composition.