Flows · UI components · SVG motion
A component library
for interactive apps.
Copy working flow diagrams, UI components, and SVG animations into your app. No framework required.
Select an outcome to follow its source.Open full example
The library
Choose a starting point.
Working pieces for your next interface.
Open an example, adjust it, and use the source.
The FlowKit engine
Build a flow
with your data.
Define the sources, views, and outcomes in a JavaScript object. FlowKit draws the connections and handles selection.
- 01Load two files: JavaScript and CSS
- 02Start from a complete example config
- 03Change the content, styles, and interactions
app.jsFull config
// Load an example, then make it yours.
const config = FlowKitExamples.rag.config;
const flow = FlowKit.embed(
document.querySelector('#diagram'),
config,
{ view: 'retrieval', select: 'answer' }
);
flow.setView('prompt');
flow.selectOutcome('cite');Works with a script tag.API reference →
Example projects