sv-matrix Svelte Themes

Sv Matrix

A collection of modern dot matrix loading animations for Svelte. Includes 20+ loaders with customizable sizes, colors, and speeds.

Svelte Dot Matrix Loaders

jsrepo downloads MIT License GitHub Sponsors

A growing collection of dot-matrix loaders for Svelte. sv-matrix gives you reusable square matrix animations built on top of a shared DotMatrix foundation, with registry installs, live previews, and component docs.

Installation

Each loader depends on the shared dot-matrix foundation.

1. Install the base dot-matrix component

This installs the shared DotMatrix component, hooks, helpers, and styles.

npx shadcn-svelte@latest add https://sv-matrix.vercel.app/r/dot-matrix.json

2. Install any matrix loader

Pick any loader you want from the registry.

npx shadcn-svelte@latest add https://sv-matrix.vercel.app/r/square-1.json

Examples:

npx shadcn-svelte@latest add https://sv-matrix.vercel.app/r/square-4.json
npx shadcn-svelte@latest add https://sv-matrix.vercel.app/r/square-8.json

Usage

Example with square-1:

<script lang="ts">
  import Square1 from "$lib/components/loaders/square-1.svelte";
</script>

<Square1 size={37} dotSize={5} speed={1.1} color="#f59e0b" />

Credits

This project is inspired from the Original Dot Matrix Loaders by Shawn Original Dot Matrix: Live Preview

Goal

The goal of this project is to bring similar dot matrix loaders to the Svelte ecosystem.

Support

GitHub Sponsor: https://github.com/sponsors/SikandarJODD

License

This project is licensed under the MIT License

Top categories

Loading Svelte Themes