orbit
File sharing on the tailnet.
Canonical markup for every pattern in @muchobien/ui. Copy from the page
source. Classes, data-* values, elements and icons not shown here or listed in
vocabulary.json don't exist.
Body text with a link, inline code, ⌘
K, marked, strong, emphasis and
small text.
A quoted passage.
const answer = 42;
console.log(answer);
| Service | Status | Finished |
|---|---|---|
| api | Running | |
| web | Stopped |
Inputs keep 16px text so iOS doesn't zoom. Invalid fields turn red only after the user has
edited them (:user-invalid).
Open a dialog with command="show-modal" and a popover with
popovertarget; neither needs script. A popover sits below the button that
opens it.
A popover closes when you click outside it or press Escape.
Content that shows when the summary is clicked.
Details that share a name form an accordion: opening one closes the others.
The latest Chrome and the latest iOS Safari.
Only for the ui-* elements.
Start the text with what it is, so colour isn't the only signal.
File sharing on the tailnet.
The home server's services.
Deployments appear here after the first push.
page centres the main column. stack spaces children vertically,
cluster wraps them in a row, grid makes equal columns at least
16rem wide, and sidebar puts a 16rem column beside the content, stacking when
narrow. visually-hidden hides text that screen readers still read.
data-theme pins a subtree to light or dark.
Always light.
Always dark.
Load icons.css and write
<span class="icon" data-icon="name">. Icons take the text colour and
size. Add aria-hidden="true" next to text, or role="img" and
aria-label when the icon stands alone.
Load ui.js for these. Their markup is readable before the script runs.
What the project is and who owns it.
Recent deployments and comments.
Domains, environment and members.
pnpm add @muchobien/ui
Deployed
| Name | Requests | Updated |
|---|---|---|
| orbit | 1,204 | |
| lyra | 98 | |
| moonbase | 12,104 |
Put one ui-toast at the end of body and call
show(message, variant).
The button in the header switches between light and dark. It writes
<meta name="color-scheme"> and a color-scheme cookie;
server-rendered pages read the cookie and write the meta tag themselves.