svelte-animated-counter
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Svelte Animated Counter

A simple animated counter component for Svelte 5.

Installation

npm install svelte-animated-counter

Usage

<Counter.Root>
  {#snippet children(o)}
    {#if o.type === 'item'}
      <Counter.Item value={o.value} />
    {:else}
      <Counter.Separator />
    {/if}
  {/snippet}
</Counter.Root>

View demo here

Package Sidebar

Install

npm i svelte-animated-counter

Weekly Downloads

11

Version

0.1.1

License

MIT

Unpacked Size

9.79 kB

Total Files

18

Last publish

Collaborators

  • calvojp