Skip to content

sunag/flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7d8bc54 Β· Nov 26, 2024
Nov 26, 2024
Nov 25, 2024
Nov 25, 2024
Mar 20, 2023
Nov 25, 2024
Oct 27, 2021
Mar 4, 2022
Sep 7, 2022
Feb 20, 2023
Oct 23, 2021
Oct 27, 2021
Nov 4, 2021
Oct 27, 2021
Feb 20, 2023
Oct 27, 2021

Repository files navigation

flow

Node-Graph, lightweight, cross-browser UI library.

Flow is basead on native components of HTML5 and the code on ES6. It is modular, three-shaking and class-based.

πŸš€ Examples

⌨️ JavaScript

import * as Flow from '../build/flow.module.js';

const object = {
	'string': 'Hello World!',
	'color': 0x339933,
	'number': 100,
	'slider': .5,
	'text': 'Text Area'
};

const node = new Flow.PanelNode( 'Panel', 'center' );
node.addString( object, 'string' );
node.addColor( object, 'color' );
node.addNumber( object, 'number' );
node.addSlider( object, 'slider', 0, 1 );
node.addText( object, 'text' );
node.addButton( 'My Button' );

document.body.appendChild( node.dom );

Open example

🎨 HTML5

Use your own JavaScript with Flow layout and style.

<f-node class="center rounded">
	<f-element class="title left">
		<span>Made With Love ❀</span>
		<f-toolbar>
			<span class="button">βœ–</span>
		</f-toolbar>
	</f-element>
	<f-element>
		<f-label>Node</f-label>
		<f-inputs>
			<input type="text" value="Hello World!"/>
		</f-inputs>
	</f-element>
	...
</f-node>

Open example

πŸ‘£ Inspiration and special thanks

About

JavaScript UI library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published