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.
View source
<Button href="/patterns" tone="primary">
Open patterns
</Button>Form fields
Labels, native validation and keyboard behavior work together.
Reactive controls
Adjust the worker pool or its batch size. The estimate follows both values.
Tasks per batch
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.
rib build native-demo writes HTML and assets to native-demo/dist/.
Table
Header cells define the meaning of each column and row.
| Route | Output | Status |
|---|---|---|
/ | HTML | Static |
/ui | HTML | Static |
/patterns/{name} | HTML | On request |