0.0.4 • Published 10 months ago

svelte-wrap-balancer v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Svelte Wrap Balancer

Svelte port of React Wrap Balancer.

Svelte Wrap Balancer is a simple Svelte Component that makes your titles more readable in different viewport sizes. It improves the wrapping to avoid situations like single word in the last line, makes the content more “balanced”:

npm.io

Installation

npm install svelte-wrap-balancer

Usage

<script>
	import Balancer from 'svelte-wrap-balancer'
</script>

<h1>
	<Balancer>Svelte Wrap Balancer</Balancer>
</h1>

License

MIT

0.0.4

10 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago