fractalsvelte mascot fractalsvelte fractalsvelte

Character-drawn components

machines-ui

Svelte 5 components drawn with characters: graphs, animated terminals, diagrams, and a node-and-edge workflow builder. Dashed frames, block glyphs, monospace type.

v0.0.1 MIT Published 7 Oct 2026

Install

pnpm add @fractaldesign/machines-ui

@fractaldesign/machines-ui — Graphs, animations, diagrams and the flow builder.

Quick start

Graphs
<script lang="ts">
	import '@fractaldesign/machines-ui/style.css';
	import { GraphKpi, GraphMeter } from '@fractaldesign/machines-ui';
</script>

<GraphKpi title="READS" value="12,400" label="this week" hint="+18%" data={[4, 5, 6, 8, 9, 12]} />
<GraphMeter title="QUOTA" value={0.64} caption="storage used" />
Workflow builder
<script lang="ts">
	import '@fractaldesign/machines-ui/style.css';
	import { FlowCanvas, loadGraph, SEED_GRAPHS } from '@fractaldesign/machines-ui';

	loadGraph('jev', SEED_GRAPHS.jev);
</script>

<!-- FlowCanvas fills its container: give it an explicit height -->
<div style="height: 40rem">
	<FlowCanvas />
</div>
[ At a glance ]
5 Families
18 Accent colours
10 Seed workflows
0 SVG or canvas

Features

Graphs made of glyphs

Stats, charts, tables and timelines rendered as characters inside a dashed frame, so they sit naturally in docs and terminals.

Animated readouts

Terminals, rain, fire, life and live readouts. Every animation stops when the user prefers reduced motion.

A workflow builder

FlowCanvas is a node canvas with an actions panel and a step inspector. State lives in the exported flow store, with ten sample workflows to load.

Nodes on their own

FlowNode renders a single node outside the canvas, drawn as a dashed frame or as a card.

Never paints your page

Graphs read a few tokens with a dark fallback scoped to .graph. Opt into your own tokens with one attribute.

One accent, everywhere

Choose from a palette of 18 colours and every graph on the page follows.

Guides

README

@fractaldesign/machines-ui@0.0.1 README, from npm.