Comparison and boundaries

RWDS and RUI: which system applies?

This page defines the boundary between the web and operating-system design systems. Use it when a change could affect both, or when deciding where a new component belongs.

At a glance

DimensionRWDSRUI
SurfaceWebsites, docs, help, blog, campaignsrumahl OS shell and installed apps
PackageWebsite theme and page components@rumahl/ui component library
Token namespaceWebsite roles such as --surface and --accent--rumahl-ui-*
TypographyEditorial display and long-form body copyOS UI scale, controls and window chrome
SurfacesSections, cards, glass navigation, editorial imageryGlass, solid and floating materials over wallpapers
Layout1320px editorial frame and content hierarchyWindows, toolbars, panels, app and mobile layouts
MotionEditorial reveals and calm state transitionsWindow, control and material motion
DocumentationThis design siteStorybook and /developers/storybook

What the systems are not

RUI is not a website system

RUI is built for the OS shell and installed apps. Its density, window chrome, materials and interaction model assume an operating system. Using it for a website is not meaningful, even if a component renders in a browser.

RWDS is not an OS kit

RWDS covers pages, documentation and editorial surfaces. It has no window manager, shell controls or wallpaper materials. Those belong to RUI.

Rendering is not the same as fit
A component can render in a browser and still be wrong for the surface. The question is not whether it displays, but whether its focus, density and semantics match the job.

Shared and different

Shared constraints

The rumahl name, wordmark and green brand family. Inter as the primary face. Semantic colour roles instead of hard-coded values. Keyboard access, visible focus and reduced motion. Light and dark as expressions of the same system.

Deliberately different

Component inventories, input assumptions (reading versus operating), material rules, token namespaces and release cycles.

Governance

No cross-imports

RWDS does not import RUI components or CSS. RUI does not consume website page components.

Share the brand, not the code

A shared colour or typeface is a design decision. Reusing a component across surfaces needs its own decision.

Document in the right place

Web system changes belong here. OS component changes belong in Storybook and the developer documentation.
Rule of thumb
If a component needs a window manager, it is RUI. If it needs a reading column, it is RWDS. If it needs both, it is usually two components that share a brand token.

Common mistakes

Choosing RUI because it renders

A component that renders in a browser is not automatically right for a website. Check the focus, density and semantics of the surface.

Changing the shared brand locally

A brand colour or typeface is a cross-system decision. Do not change it inside one system without reviewing the other.

Importing components across systems

RWDS and RUI are not one package. Reusing a component across surfaces usually means building two components with a shared decision.

Confusing palette and system

A new accent family or tint changes the palette. It does not change layout, type, spacing or motion, so it is still RWDS.

Decision guide

A page, article, docs entry or campaign uses RWDS. A shell, window, settings page or app control uses RUI.

Resources and adoption