Background
Paths
Floating SVG path animations with gradient text effects. Perfect for React applications requiring dynamic backgrounds with Next.js integration and TypeScript support.
Powered by
Installation
npx shadcn@latest add https://www.shadcn.io/registry/background-paths.json
npx shadcn@latest add https://www.shadcn.io/registry/background-paths.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/background-paths.json
bunx shadcn@latest add https://www.shadcn.io/registry/background-paths.json
Features
- 36 animated SVG paths floating continuously with synchronized opacity cycling using Framer Motion
- Letter-by-letter text animation with spring effects and customizable title content
- Interactive glassmorphism button featuring hover effects and smooth micro-interactions
- Dark mode compatibility with automatic theme switching and adaptive color schemes
- Responsive gradient text effects that scale appropriately across all screen sizes
- TypeScript support with complete interface definitions for reliable integration
- Accessibility optimized including proper ARIA labels and motion preference respect
- shadcn/ui integration following established design patterns and CSS custom properties
Examples
Custom Title
Use Cases
This free open source React component works well for:
- Landing pages - Dynamic hero sections with floating path animations built with Next.js
- Creative portfolios - Artistic backgrounds showcasing design capabilities using TypeScript
- Product launches - Eye-catching announcement pages with gradient text effects
- Tech presentations - Modern backgrounds for software demos using shadcn/ui design
- App onboarding - Engaging welcome screens with interactive elements
- Marketing sites - Professional backgrounds that maintain content focus using Tailwind CSS
API Reference
BackgroundPaths
Prop | Type | Default | Description |
---|---|---|---|
title | string | "Background Paths" | The title text to display with animated letters |
Implementation Notes
- Component renders 36 animated SVG paths with continuous floating movement and opacity cycling
- Letter-by-letter text animation uses Framer Motion spring effects with staggered timing
- Interactive button includes glassmorphism styling with hover effects and micro-interactions
- Automatic dark mode support with theme-adaptive background colors and text gradients
- Uses CSS custom properties and Tailwind classes for easy customization
- Full viewport coverage with proper overflow handling to prevent layout issues
- Compatible with shadcn/ui design system and accessibility standards
- Path colors, opacity, animation durations, and easing can be modified through CSS variables
Gradient Animation
Interactive gradient backgrounds with mouse tracking. Perfect for React applications requiring dynamic animated effects with Next.js integration and TypeScript support.
Bubble Background
Animated bubble background with interactive mouse tracking and customizable colors. Perfect for React applications requiring dynamic backgrounds with Next.js integration and TypeScript support.