Official

ui

The look of the app's components: buttons, list rows, cards, settings, callouts, and the blocks and tables of replies. Edit a component here and the whole app draws with it.

The app opens the listing; nothing installs until an agent in your Plugins workspace has read the files and you enable the plugin. In a terminal: dvg install divergence/ui@0.1.0

Permissions in 0.1.0

  • Change app settings settings.writeHighChanges the app settings.Apply the components' look to the window

Files

components/progress.tsx576 B
/** @jsxRuntime classic */
/** @jsx template */
// A progress bar: `value` from 0 to 1, or none for work of unknown length,
// which shows a third of the track.
import { TONES, prop, type Definition, template } from "../define.ts";

export const progress: Definition = {
  props: { value: null, tone: null },
  template: (
    <div width="fill" height={4} borderRadius="full" background="muted">
      <div height="fill" borderRadius="full" width={prop("value", { as: "percent", else: "33%" })} background={prop("tone", { map: TONES, else: "primary" })} />
    </div>
  ),
};

Versions

VersionPublishedPlugin APISizePermissionsStatus
0.1.2latestNov 21, 2026>=5 <610.6 KB1 permissionListed
0.1.1Nov 16, 2026>=5 <610.2 KB1 permissionListed
0.1.0Nov 9, 2026>=5 <68.8 KB1 permissionListed

Reviews and comments

0 threads · 0 reviews

No comments yet.