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.
Each loader depends on the shared dot-matrix foundation.
This installs the shared DotMatrix component, hooks, helpers, and styles.
npx shadcn-svelte@latest add https://sv-matrix.vercel.app/r/dot-matrix.json
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
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" />
This project is inspired from the Original Dot Matrix Loaders by Shawn Original Dot Matrix: Live Preview
The goal of this project is to bring similar dot matrix loaders to the Svelte ecosystem.
GitHub Sponsor: https://github.com/sponsors/SikandarJODD
This project is licensed under the MIT License