@meursyphus/flitter-svelte
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

What is this?

Flitter-Svelte is a library designed to simplify the integration of Flitter, a widget-based SVG manipulation framework, with Svelte applications. It enables developers to easily incorporate Flitter's declarative, Flutter-like syntax for data visualization within Svelte projects.

For more details, visit here.

npm i @meursyphus/flitter @meursyphus/flitter-svelte
<script>
  import { Container, Alignment, Text, TextStyle } from '@meursyphus/flitter';
  import Widget from '@meursyphus/flitter-svelte';
</script>

<Widget
  width="600px"
  height="300px"
  widget={Container({
    alignment: Alignment.center,
    color: 'lightblue',
    child: Text("Hello, Flitter!", style: TextStyle({ fontSize: 30, weight: 'bold' }))
  })}
/>

Package Sidebar

Install

npm i @meursyphus/flitter-svelte

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.19 kB

Total Files

6

Last publish

Collaborators

  • anseotmd555