Svelte Dot Matrix Loaders
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.
- Live: Preview
- Docs: Setup & Usage
- Components: View Loaders
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.json2. 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.jsonExamples:
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.jsonUsage
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
svelteloaderscomponentshookscss
Repository https://github.com/SikandarJODD/sv-matrix
Homepage https://sv-matrix.vercel.app
Items 21
Dependencies 2
Weekly Downloads
0
Authors
- Sikandar JODD