Skip to content

heydong1/svelte-wrap-balancer

Repository files navigation

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”:

Installation

npm install svelte-wrap-balancer

Usage

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

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

License

MIT

About

Simple Svelte Component That Makes Titles More Readable.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published