Skip to content

Vektra Public Type Index

Components and Capabilities

Root exportPurpose
Button, ButtonVariantButton component
CheckboxCheckbox component
Radio, RadioGroupRadio components
SwitchSwitch component
SwitchContentSwitch track state content
Input, InputState, InputVariant, InputClear, InputEventInput component
IconButton, IconButtonVariantIconButton component
Icon, IconSource, IntoIconSource, IconNameIcons and asset sources; the same-name IntoIconSource exports include the trait and derive macro, while IconName requires the icons feature
Tooltip, TooltipPlacementTooltip component
ScrollArea, ScrollAxis, ScrollVisibility, ScrollGutter, ScrollbarConfig, ScrollableExtScrollbar component
VirtualList, VirtualListState, VirtualListMetricsFixed-height virtual list
LazyDataSource, OwnedDataSourceShared lazy collection protocol and owned adapter
Select, SelectOption, SelectGroup, SelectGroupHeader, SelectEntry, SelectDataSource, OwnedSelectDataSource, SelectStatusSelect and its unified data source
Changeable, Clickable, Focusable, Disableable, SizableCapability traits

Theme, Size, and Assets

Root exportPurpose
ComponentSize, component_size, set_component_sizeShared semantic sizes and the global default
ThemeMode, ResolvedThemeModeRequested and resolved theme modes
ResolvedTheme, SemanticColors, InputTokens, InputStateTokens, InputSizeTokens, InputVariantKind, InputVisualState, SelectTokens, SelectTriggerStateTokens, SelectOptionStateTokens, SelectSizeTokens, SelectTriggerState, SelectOptionState, ThemeSize, RadioTokens, RadioStateTokens, RadioSizeTokens, TooltipTokens, ScrollbarTokensPublic resolved-theme types; Input and Select use strongly typed indices validated at construction
theme_mode, set_theme_mode, resolved_theme_modeRead, set, and resolve theme mode
current_theme, semantic_colorsCurrent window theme and semantic colors
assets::Assets, assets::AssetsWithOverridesGPUI 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.