Skip to content

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, and Context<T> are GPUI APIs. Vektra uses them in callback signatures without copying their definitions; use the GPUI dependency type index for pinned source links.
  • gpui and gpui_platform are pinned to commit fd82517a115d97a07835b52f0512b22b38e38ccf. Links never target a drifting main branch.

Prefer the root vektra facade for application code. Internal workspace crates only need separate treatment for advanced direct-use cases such as asset composition.