Morphing Text

A dynamic text morphing component for Magic UI.

Installation

pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/morphing-text.json

Usage

<script lang="ts">	import { MorphingText } from "#lib/components/magic/morphing-text/index.js";
	const texts = ["Design", "Develop", "Ship"];</script>
<MorphingText {texts} />

Props

Morphing Text

A component for Morphing Text.

NameTypeDefaultDescription
classClassValue""Additional CSS classes to apply
textsstring[][]Array of texts to morph through