@gistui/widgets
v0.2.1
Published
GistUI framework-free DOM widgets: SVG chart engine and streaming Markdown.
Downloads
545
Maintainers
Readme
Framework-free widgets used by GistUI's renderers: a small SVG chart engine (bar, line, area, pie, donut, radar, scatter, stacked…) with tooltips and keyboard access, and a streaming Markdown renderer that never flickers on half-written marks.
npm install @gistui/widgetsimport { createChart } from "@gistui/widgets/chart";
import { createMarkdown } from "@gistui/widgets/markdown";Renderers load these on demand, so they do not weigh on first load.
All packages
GistUI is one project in several packages, released together under one version.
| Package | What it is |
|---|---|
| @gistui/react | React renderer and default components |
| @gistui/vue | Vue 3.5+ and Nuxt |
| @gistui/svelte | Svelte 5 and SvelteKit |
| @gistui/solid | Solid and SolidStart |
| @gistui/vanilla | Vanilla JavaScript renderer, no framework |
| @gistui/catalog | Component schemas, the system prompt and the agent skill |
| @gistui/styles | One stylesheet for every framework |
| @gistui/server | Stream reading, validation and repair on the server |
| @gistui/chat | Headless chat store, model adapters, React chat layouts |
| @gistui/core | The language: streaming parser, validator, autofix, prompt generator |
| @gistui/headless | Shared internals: engine, themes, forms |
| @gistui/widgets | Shared internals: charts, Markdown |
