/meta-vr:hz-metavrx-ui-setfrom meta-vr
Builds Meta VR and Horizon OS app UI using the MetaVrx UI Set, a Jetpack Compose component library and design system. Covers UiSetTheme, buttons, cards, controls, dialogs, dropdowns, inputs, side navigation, sliders, tooltips, Icons.Regular library, Gradle setup, and migration from Spatial SDK UI Set.
Ships in meta-vr. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
UISet is a Jetpack Compose component library and design system for Android apps
on Meta Horizon OS. Its dark and light themes ship Meta VR typography, shapes,
density, interaction states, and semantic colors complete and usable with no
configuration. Everything public lives under metavrx.uiset.compose and its
subpackages.
It ships as the Maven artifact com.meta.metavrx.uiset:uiset-compose-compat.
This skill uses progressive disclosure: this page is the map — load the one reference file that matches your task.
@Composable
fun AppContent(onContinue: () -> Unit) {
UiSetTheme { // dark scheme, VR typography, Standard density
Surface {
Column {
Text("Guardian", style = UiSetTheme.typography.headline)
LabelButton(label = "Continue", onClick = onContinue)
}
}
}
}
Below the theme it is ordinary Compose — Row/Column/Box from foundation,
your own state, normal recomposition. The deltas from a Material 3 app are small
but they are replacements, not additions:
| Material 3 | UISet |
|---|---|
androidx.compose.material3.MaterialTheme | metavrx.uiset.compose.theme.UiSetTheme |
androidx.compose.material3.Text / .Icon | metavrx.uiset.compose.Text / .Icon |
Button(onClick) { Text(…) } | LabelButton(label, onClick) |
androidx.compose.material.icons.Icons.Filled.Add | metavrx.uiset.compose.theme.icons.Icons.Regular.Add |
MaterialTheme.colorScheme.primary | UiSetTheme.colorScheme.accent |
androidx.compose.material3.LocalContentColor | metavrx.uiset.compose.LocalContentColor |
UISet does not extend Material. The names collide, the types do not — import
from metavrx.uiset.compose.* and do not mix the two in one screen.
Text, Icon, Surface, Checkbox,
RadioButton, Switch, Slider, Icons, LocalContentColor all exist in
both. Mixed imports compile and then render unthemed.@Composable properties. Icons.Regular.Add resolves a vector
resource, so reading it is a composable call — it cannot be evaluated in a
val, an enum argument, or a remember { } block. Component icon /
leadingIcon parameters take @Composable () -> Unit for exactly that reason.PersistentList. Dropdown, IconDropdown, and
ChoiceListDialog take PersistentList<…> from kotlinx-collections-immutable;
build with persistentListOf(…) inside remember.if (showDialog) { … } and always pass onDismissRequest.Dimensions.minimumInteractiveSize says. Visible
artwork can be smaller than its target; lay out with the target in mind.contentDescription — it is a required
parameter on IconButton, not an optional one.UiSetTheme gets the built-in defaults and your customization never reaches it.ButtonStyle emphasis levels mean, and the behaviour that
is not visible in a signature. Start here for "which component, and what will
it do that I don't expect".UiSetTheme, the
semantic ColorScheme roles, typography, shapes, density, and interaction
indications, plus the customization ladder from a one-value copy to a full
replacement. Read when colors or metrics need to change.Icons.Regular, the
composable-getter constraint, the icon-slot pattern, and how to find an icon.com.meta.spatial:meta-spatial-sdk-uiset): the coordinate
and package changes, the Spatial* rename table, and the behavioral
differences. Read when the existing code says SpatialTheme.For exact signatures and KDoc, hover the symbol in your IDE — every public type
is documented. Outside the IDE, metavr docs api-search "<Component>" reaches
the same reference.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
meta-vr, horizon-os, jetpack-compose, ui-set, design-system, android
npx claudepluginhub meta-quest/agentic-tools --plugin meta-vr36 skills in this plugin
/hz-android-2d-portingGuides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements. Use when adapting a mobile Android app for Meta VR. For UI design decisions, use hz-panel-designer if available. Build path: Standard Android; use hz-quest-verify-first if the build path is unclear./hz-api-upgradeUpgrades Meta VR apps to newer Horizon OS SDK versions — migration guides, deprecated API replacements, changelog. Use when updating SDK versions or fixing deprecated API warnings. Build paths: all Meta VR app stacks; use hz-quest-verify-first if the build path is unclear./hz-immersive-designerOther plugins' skills for the same job