A powerful React animation library built with Framer Motion, providing beautiful and performant animations for modern web applications.
npm install shiboshreeroylangproA powerful React animation library built with Framer Motion, providing beautiful and performant animations for modern web applications.
- 🎨 Beautiful, customizable animations
- 📱 Responsive and mobile-friendly
- ♿ Accessible by default
- 🎮 Interactive components
- 🔧 Highly customizable
- 📦 Tree-shakeable
- 💪 TypeScript support
``bash`
npm install @framer/motion react-spring @use-gesture/react lucide-react`bash`
npm install shiboshreeroylangpro
`tsx
import { AnimatedContainer, TextWriter, SpringText } from 'shiboshreeroylang';
function App() {
return (
This content fades in and out
📚 Components
$3
####
Animated typing effect.`tsx
text="Hello, World!"
speed={50}
cursor={true}
/>
`####
Text with spring animation on hover.`tsx
className="text-2xl"
stiffness={100}
damping={10}
>
Hover over me!
`$3
####
Container with various animation options.`tsx
animation="fade" // 'fade' | 'slide' | 'scale' | 'rotate'
isVisible={true}
duration={0.3}
>
Content
`$3
####
Spinning circle loader.`tsx
size={40}
color="#3B82F6"
thickness={4}
speed={1.2}
/>
`####
Pulsing dots loader.`tsx
size={12}
color="#3B82F6"
count={3}
/>
`$3
####
Animated progress bar.`tsx
progress={75}
height={6}
color="#3B82F6"
backgroundColor="#E5E7EB"
/>
`####
Interactive slider component.`tsx
min={0}
max={100}
value={50}
onChange={(value) => console.log(value)}
/>
`$3
####
Form with animated inputs and validation.`tsx
const fields = [
{ name: 'email', label: 'Email', type: 'email', required: true },
{ name: 'password', label: 'Password', type: 'password', required: true }
]; fields={fields}
onSubmit={(data) => console.log(data)}
/>
`$3
####
3D cube with mouse interaction.`tsx
size={200}
colors={['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899']}
/>
`####
Animated carousel/slider.`tsx
const items = [
,
,
]; items={items}
autoPlay={true}
interval={3000}
/>
`🎨 Customization
Most components accept the following common props:
-
className: Custom CSS classes
- style: Inline styles
- Color customization
- Size adjustments
- Animation timing
- Custom behaviors🔧 Advanced Usage
$3
`tsx
function AnimationSequence() {
const timeline = useTimeline(); const playSequence = () => {
timeline.addStep({
duration: 1000,
animation: () => console.log('First animation')
});
timeline.addStep({
duration: 500,
animation: () => console.log('Second animation')
});
timeline.play();
};
return ;
}
``MIT © [Shiboshree Roy]