A standalone, framework-agnostic CSS Animation Builder library that provides an interactive interface for creating beautiful CSS animations. Works as a Composer package, WordPress plugin, or standalone HTML/JS application.
- 🎨 Interactive Animation Builder - Visual interface for creating animations
- 🎭 29+ Animation Types - From basic fades to complex handwriting effects
- ⚡ Live Preview - Real-time animation preview with controls
- 📋 Code Generation - Generate clean CSS and HTML code
- 🎯 Framework Agnostic - Works with any web framework or vanilla HTML
- 📱 Mobile Responsive - Touch-friendly interface
- 🔧 Highly Configurable - Extensive customization options
- 🎪 Animation Presets - Quick-start templates for common use cases
- ♿ Accessibility - ARIA attributes, high contrast, reduced motion support
The CSS Animation Builder includes these fundamental animations that work great for most projects:
Entrance Effects:
fadeIn
- Smooth fade in effectslideInLeft
,slideInRight
- Slide from sidesslideInUp
,slideInDown
- Slide from top/bottomzoomIn
- Scale up entrancebounceIn
- Bouncy entrance
Exit Effects:
fadeOut
- Smooth fade outslideOutLeft
,slideOutRight
- Slide to sideszoomOut
- Scale down exit
Attention Effects:
pulse
- Gentle pulsingshake
- Attention shakewobble
- Playful wobble
🍂 DangleFall Physics Suite - Realistic falling effects:
dangleFall
- Natural falling motiondangleFallSpiral
- Spiral descentcascadeFall
- Waterfall effect- Seasonal variants (maple leaves, snowflakes, petals)
✍️ Handwriting Collection - Professional typewriter effects:
quillWriting
- Ink trail effectsfountainPen
- Enhanced shadowscalligraphy
- Letter-spacing animationhandwritingReveal
- Blur-to-sharp transition
View Handwriting Demo | View Seasonal Demo
npm install @reia/css-animation-builder
import CSSAnimationBuilder from '@reia/css-animation-builder';
const builder = new CSSAnimationBuilder({
container: '#animation-builder'
});
builder.init();
<link rel="stylesheet" href="https://unpkg.com/@reia/css-animation-builder/dist/css-animation-builder.css">
<script src="https://unpkg.com/@reia/css-animation-builder/dist/css-animation-builder.min.js"></script>
<div id="animation-builder"></div>
<script>
const builder = new CSSAnimationBuilder({
container: '#animation-builder'
});
builder.init();
</script>
composer require reia/css-animation-builder
use Reia\CSSAnimationBuilder\Builder;
$builder = new Builder();
echo $builder->render();
- Download the plugin files
- Upload to
/wp-content/plugins/css-animation-builder/
- Activate the plugin
- Use shortcode:
[css-animation-builder]
git clone https://github.com/DavidEngland/css-animation-builder.git
cd css-animation-builder
npm install && composer install
npm run build
const builder = new CSSAnimationBuilder({
container: '#animation-builder',
theme: 'default',
showPreview: true,
animations: ['fadeIn', 'slideInLeft', 'bounceIn']
});
const builder = new CSSAnimationBuilder({
container: '#animation-builder',
theme: 'dark',
customAnimations: {
'customBounce': {
name: 'Custom Bounce',
keyframes: `
0% { transform: scale(0.3); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
`
}
},
callbacks: {
onAnimationChange: (animation) => console.log('Animation changed:', animation)
}
});
const builder = new CSSAnimationBuilder(options);
// Methods
builder.init() // Initialize builder
builder.destroy() // Cleanup
builder.getAnimation() // Get current settings
builder.setAnimation(settings) // Set animation
builder.generateCSS() // Generate CSS code
builder.preview() // Preview animation
use Reia\CSSAnimationBuilder\Builder;
$builder = new Builder($config);
echo $builder->render(); // Render HTML
$builder->generateCSS($animation, $options); // Generate CSS
- ✨ Enhanced seasonal animations with 11 new effects
- 🎨 Interactive seasonal theme controls
- 🍂 Comprehensive dangleFall demo showcase
- 📝 Complete animation possibilities documentation
- ✍️ Professional handwriting animations integration
- 🎯 Superior 15° cursor positioning
- 🖋️ 5 handwriting styles (Quill, Fountain Pen, Calligraphy, etc.)
- 📊 Library expanded from 18+ to 29+ animations
- 🍂 DangleFall physics-based animation suite
- 🌟 5 realistic falling animation variants
- ⚙️ Enhanced animation builder interface
Modern file-based keyframes architecture for maximum maintainability:
src/
├── Builder.php # Main animation builder class
├── Keyframes/ # Individual keyframe files
│ ├── fadeIn.css
│ ├── slideInLeft.css
│ └── ... (29+ animations)
└── WordPressPlugin.php # WordPress integration
Benefits:
- Modular Design: Each animation in its own file
- Easy Maintenance: Modify animations without touching core code
- Scalable: Add new animations by creating new files
.css-animation-builder.theme-custom {
--primary-color: #your-color;
--background-color: #your-color;
--text-color: #your-color;
}
builder.addCustomAnimation('myAnimation', {
name: 'My Custom Animation',
keyframes: `
0% { transform: translateX(0); }
100% { transform: translateX(100px); }
`
});
css-animation-builder/
├── assets/ # Frontend source
├── src/ # PHP source files
├── tests/ # Test files
├── examples/ # Usage examples
└── docs/ # Documentation
npm install && composer install
npm run build
npm test && composer test
Developed by Real Estate Intelligence Agency (REIA) full stack development team.
Team:
- Senior Lead Developer: David England
- CEO & Chief Broker: Mikko P. Jetsu
Organization:
- Website: realestateintelligenceagency.com (coming soon)
- GitHub: github.com/DavidEngland/css-animation-builder
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Make your changes and add tests
- Commit changes (
git commit -m 'Add amazing feature'
) - Push to branch (
git push origin feature/amazing-feature
) - Open a Pull Request
MIT License - see LICENSE file for details.
- Documentation: Full Documentation
- NPM Package: @reia/css-animation-builder
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Made with ❤️ by David England