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.1

Permissions in 0.1.1

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

Files

components/card.tsx644 B
/** @jsxRuntime classic */
/** @jsx template */
// A raised surface. A card of rows (`divided`) leaves the inset to its
// rows and draws a line between them; a card of content has its own.
// Rows in a divided card round to its corner less its inset
// (`borderRadius="inner"`).
import { when, type Definition, template } from "../define.ts";

export const card: Definition = {
  props: { divided: false },
  template: <div display="flex" flexDirection="column" paddingX={12} paddingY={12} background="card" borderRadius="lg" $when={[when("divided", { paddingX: 4, paddingY: 4, divide: { color: "border/60", inset: 8 } })]}><slot /></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.