Expand an underline into a full background fill while transitioning the text color.
motion-sv
Weeklygoodiesdeliveredstraighttoyourinbox— subscribe
Installation
pnpm dlx shadcn-svelte@latest add http://sveltekit-prerender/f/underline-to-background.json
Install dependencies
Install the required packages for this component:
pnpm add motion-sv
Copy the Source Code
Copy and paste the following code into your project:
underline-to-background.svelte
index.ts
Folder Structure
Folder Structure
Visit Original Docs
For more deeper understaing visit fancy components documentation.