Ribbath
Color theme

darkrib UI kit

Try HTML components in light and dark themes. Use an example, then open its .rib source.

Actions

Navigation links and form buttons share the same visual styles.

Open patterns Back to overview
View source
<Button href="/patterns" tone="primary">
  Open patterns
</Button>

Form fields

Labels, native validation and keyboard behavior work together.

Build option

Run the demo on the Rust server to see the submitted values.

Reactive controls

Adjust the worker pool or its batch size. The estimate follows both values.

Workers 2
Tasks per worker 4
Tasks per batch 8
View reactive source
<div state:workers={2} state:batch={4}>
  <button on:click={workers = workers + 1}>Add worker</button>
  <output bind:text={workers * batch}></output>
</div>

Feedback

Badges show status at a glance. Notices provide context.

Ready Pending Error Draft

Disclosure

Expand a question to see the answer.

What is a route parameter?

/patterns/form sets params.name to form.

Table

Header cells define the meaning of each column and row.

Example routes
RouteOutputStatus
/HTMLStatic
/uiHTMLStatic
/patterns/{name}HTMLOn request