rumahl UI
RUI is the design system and component library of the rumahl OS shell and its apps. It is not a website design system: its density, materials, window chrome and interaction model are built for the OS, so using it on a website is not meaningful even where a component can technically render. Storybook is the detailed reference.
Purpose and boundary
Package boundary
Theme contract
Accessibility
The shell owns behaviour. Themes change appearance. Apps add content only through defined interfaces.
Tokens
RUI tokens are projected onto the shell root as --rumahl-ui-* custom properties. Components read tokens; a theme supplies the values.
| Group | Purpose |
|---|---|
color.* | Accent, surfaces, text, canvas, panel, outline and shadow |
material.* | Blur, saturation, opacity and glass strength |
shape.* | Corner radii and icon sizes |
motion.* | Durations and easing |
typography.* | UI and display faces and the type scale |
layout.* | Layout primitives for shell and app surfaces |
texture.wallpaper | Wallpaper-aware surface treatment |
Materials
Glass
Solid
Floating
Component groups
| Group | Examples |
|---|---|
| Window & chrome | Window, toolbar, tray, menu bar |
| Controls | Button, inputs, select, search, stepper, colour picker |
| Feedback | Badge, notice, toast, progress, skeleton, tooltip |
| Navigation | Tabs, steps, breadcrumbs, sidenav, navbar, list |
| Overlays | Dialog, anchored popover, menus |
| Layouts | App layout, settings, mobile shell, launcher, split views |
Working with RUI
Use the package
Theme with tokens
Check in Storybook
Theming
Theme model
An id, a name and supported modes, token values for colour, material, shape, motion, typography, layout and texture, optional CSS and safe slot templates.
Runtime
ThemeProvider projects the active tokens onto the document root. The shell resolves the theme from account and device preferences.