1.3.4 • Published 4 years ago

@webpunk/circular-text v1.3.4

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

circular-text

Web component to display text along a circle shape

Circular text example

How to use

If you are already using npm in your project:

npm add @webpunk/circular-text

Then import it in your Javascript:

import '@webpunk/circular-text';

Otherwise, include it from the CDN:

<script
    type="module"
    src="https://unpkg.com/@webpunk/circular-text/dist-web/index.bundled.js">
</script>

Then you'll be able to use it like:

<circular-text
    text="FREE SHIPPING · FREE SHIPPING · "
    radius="90">
</circular-text>

Where the 2 attributes are:

  • text - String to be displayed in the circle shape
  • radius - Number that determines the size of the circle
1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.2.1

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago