Vektra Public Type Index
Components and Capabilities
| Root export | Purpose |
|---|---|
Button, ButtonVariant | Button component |
Checkbox | Checkbox component |
Radio, RadioGroup | Radio components |
Switch | Switch component |
SwitchContent | Switch track state content |
Input, InputState, InputVariant, InputClear, InputEvent | Input component |
IconButton, IconButtonVariant | IconButton component |
Icon, IconSource, IntoIconSource, IconName | Icons and asset sources; the same-name IntoIconSource exports include the trait and derive macro, while IconName requires the icons feature |
Tooltip, TooltipPlacement | Tooltip component |
ScrollArea, ScrollAxis, ScrollVisibility, ScrollGutter, ScrollbarConfig, ScrollableExt | Scrollbar component |
VirtualList, VirtualListState, VirtualListMetrics | Fixed-height virtual list |
LazyDataSource, OwnedDataSource | Shared lazy collection protocol and owned adapter |
Select, SelectOption, SelectGroup, SelectGroupHeader, SelectEntry, SelectDataSource, OwnedSelectDataSource, SelectStatus | Select and its unified data source |
Changeable, Clickable, Focusable, Disableable, Sizable | Capability traits |
Theme, Size, and Assets
| Root export | Purpose |
|---|---|
ComponentSize, component_size, set_component_size | Shared semantic sizes and the global default |
ThemeMode, ResolvedThemeMode | Requested and resolved theme modes |
ResolvedTheme, SemanticColors, InputTokens, InputStateTokens, InputSizeTokens, InputVariantKind, InputVisualState, SelectTokens, SelectTriggerStateTokens, SelectOptionStateTokens, SelectSizeTokens, SelectTriggerState, SelectOptionState, ThemeSize, RadioTokens, RadioStateTokens, RadioSizeTokens, TooltipTokens, ScrollbarTokens | Public resolved-theme types; Input and Select use strongly typed indices validated at construction |
theme_mode, set_theme_mode, resolved_theme_mode | Read, set, and resolve theme mode |
current_theme, semantic_colors | Current window theme and semantic colors |
assets::Assets, assets::AssetsWithOverrides | GPUI asset source and override composition |
Use rustdoc for complete methods, variants, feature gates, and trait implementations. The root facade is the primary application API; internal workspace crates matter only for explicitly re-exported or advanced direct-use scenarios.