Prepare the next expedition.
Every action needs a clear cost, consequence and state.
Input state is independent of action state.Preview only. No simulation state changes.
Start with one stylesheet, find a component, then compose your interface.
Link the bundle, add a rw-ui root and use native HTML. Behaviors are
optional modules; no framework or game engine is required.
<link rel="stylesheet" href="./runway-ui/dist/runway-ui.css">
<section class="rw-ui rw-panel" data-theme="orbital">
<button type="button" class="rw-button" data-variant="primary">
Launch expedition
</button>
</section>
For an existing native form, optionally load styles/native.css and add
rw-native. For another UI framework, migrate its markup deliberately; CSS
does not translate event contracts.
Every action needs a clear cost, consequence and state.
Input state is independent of action state.Preview only. No simulation state changes.
The same recipe works in plain HTML or a framework template.
Attributes are additive. Unknown visual values use the component default.
No components match. Clear the search to browse every component.
data-theme
selects Studio, Orbital, Parchment or Whimsy.
data-density="compact"
changes inherited spacing. An explicit button size overrides density for that button.
.my-world {
--rw-accent: #41705c;
--rw-on-accent: #ffffff;
--rw-radius: 8px;
--rw-panel-padding: 20px;
}
Keep a single root where possible. A nested rw-ui root starts fresh token
defaults; top-level dialogs need their own theme and density. Use local tokens for art
direction and component attributes for semantic state.
The library follows semantic versioning from 1.0.0. Existing class names, exports and default behavior are kept within a major version. New options are opt-in, and breaking changes are documented in the changelog.
Current verification covers focused desktop Chromium flows. Firefox, Safari, physical controllers and assistive technology still need direct validation before a 1.0 stability claim.
Compatibility policy and remaining gates · TypeScript API reference · Local changes