@@ -4,12 +4,11 @@ Extended animation utilities for Tailwind CSS v4. Modern, lightweight, and fully
4
4
5
5
## Features
6
6
7
- - ** Tailwind CSS v4 Native ** - Built with ` @utility ` and ` @theme ` syntax
7
+ - ** Tailwind CSS v4** - Built with ` @utility ` and ` @theme ` syntax
8
8
- ** Zero Configuration** - Just import and start animating
9
9
- ** Fully Customizable** - Control duration, delay, timing, and more
10
10
- ** CSS Custom Properties** - Easy theming and dynamic control
11
11
- ** Modular Architecture** - Import only what you need
12
- - ** TypeScript Support** - Complete type definitions included
13
12
14
13
## Installation
15
14
@@ -48,41 +47,135 @@ Start using animations:
48
47
- ` animate-flash ` - Flashing effect
49
48
- ` animate-head-shake ` - Head shake movement
50
49
- ` animate-heart-beat ` - Heart beating effect
51
- - ` animate-jello ` - Jello wobble effect
50
+ - ` animate-jelly ` - Jello wobble effect
52
51
- ` animate-rubber-band ` - Rubber band stretch
53
52
- ` animate-shake-x ` - Horizontal shake
54
53
- ` animate-shake-y ` - Vertical shake
55
54
- ` animate-swing ` - Pendulum swing
56
55
- ` animate-tada ` - Celebration effect
57
56
- ` animate-wiggle ` - Gentle rotation wiggle
58
57
- ` animate-wobble ` - Side-to-side wobble
58
+ - ` animate-float ` - Floating effect
59
+ - ` animate-spin ` - Continuous rotation
60
+ - ` animate-ping ` - Ping radar effect
61
+ - ` animate-pulse ` - Pulse opacity
62
+ - ` animate-bounce ` - Bouncing effect
59
63
60
- ### Dashing Animations
64
+ ### Back Entrances
61
65
62
- - ` animate-dash -in-left ` - Fast slide in from left
63
- - ` animate-dash -in-right ` - Fast slide in from right
64
- - ` animate-dash-out-left ` - Fast slide out to left
65
- - ` animate-dash-out-right ` - Fast slide out to right
66
+ - ` animate-back -in-down ` - Back entrance from top
67
+ - ` animate-back -in-start ` - Back entrance from left
68
+ - ` animate-back-in-end ` - Back entrance from right
69
+ - ` animate-back-in-up ` - Back entrance from bottom
66
70
67
- ### Bouncing Effects
71
+ ### Back Exits
72
+
73
+ - ` animate-back-out-down ` - Back exit to bottom
74
+ - ` animate-back-out-start ` - Back exit to left
75
+ - ` animate-back-out-end ` - Back exit to right
76
+ - ` animate-back-out-up ` - Back exit to top
77
+
78
+ ### Bouncing Entrances
68
79
69
80
- ` animate-bounce-in ` - Bounce entrance
70
81
- ` animate-bounce-in-down ` - Bounce in from top
82
+ - ` animate-bounce-in-start ` - Bounce in from left
83
+ - ` animate-bounce-in-end ` - Bounce in from right
71
84
- ` animate-bounce-in-up ` - Bounce in from bottom
85
+
86
+ ### Bouncing Exits
87
+
72
88
- ` animate-bounce-out ` - Bounce exit
89
+ - ` animate-bounce-out-down ` - Bounce out to bottom
90
+ - ` animate-bounce-out-start ` - Bounce out to left
91
+ - ` animate-bounce-out-end ` - Bounce out to right
92
+ - ` animate-bounce-out-up ` - Bounce out to top
93
+
94
+ ### Dashing
95
+
96
+ - ` animate-dash-in-start ` - Fast slide in from left
97
+ - ` animate-dash-in-end ` - Fast slide in from right
98
+ - ` animate-dash-out-start ` - Fast slide out to left
99
+ - ` animate-dash-out-end ` - Fast slide out to right
100
+
101
+ ### Fading Entrances
73
102
74
- ### Rotating Effects
103
+ - ` animate-fade-in ` - Fade entrance
104
+ - ` animate-fade-in-down ` - Fade in from top
105
+ - ` animate-fade-in-start ` - Fade in from left
106
+ - ` animate-fade-in-end ` - Fade in from right
107
+ - ` animate-fade-in-up ` - Fade in from bottom
108
+
109
+ ### Fading Exits
110
+
111
+ - ` animate-fade-out ` - Fade exit
112
+ - ` animate-fade-out-down ` - Fade out to bottom
113
+ - ` animate-fade-out-start ` - Fade out to left
114
+ - ` animate-fade-out-end ` - Fade out to right
115
+ - ` animate-fade-out-up ` - Fade out to top
116
+
117
+ ### Flippers
118
+
119
+ - ` animate-flip ` - 3D flip effect
120
+ - ` animate-flip-in-x ` - Flip in on X-axis
121
+ - ` animate-flip-in-y ` - Flip in on Y-axis
122
+ - ` animate-flip-out-x ` - Flip out on X-axis
123
+ - ` animate-flip-out-y ` - Flip out on Y-axis
124
+
125
+ ### Rotating Entrances
75
126
76
127
- ` animate-rotate-in ` - Rotating entrance
128
+ - ` animate-rotate-in-down-start ` - Rotate in from top-left
129
+ - ` animate-rotate-in-down-end ` - Rotate in from top-right
130
+ - ` animate-rotate-in-up-start ` - Rotate in from bottom-left
131
+ - ` animate-rotate-in-up-end ` - Rotate in from bottom-right
132
+
133
+ ### Rotating Exits
134
+
77
135
- ` animate-rotate-out ` - Rotating exit
136
+ - ` animate-rotate-out-down-start ` - Rotate out to bottom-left
137
+ - ` animate-rotate-out-down-end ` - Rotate out to bottom-right
138
+ - ` animate-rotate-out-up-start ` - Rotate out to top-left
139
+ - ` animate-rotate-out-up-end ` - Rotate out to top-right
78
140
79
- ### Special Effects
141
+ ### Sliding Entrances
142
+
143
+ - ` animate-slide-in-down ` - Slide in from top
144
+ - ` animate-slide-in-up ` - Slide in from bottom
145
+ - ` animate-slide-in-start ` - Slide in from left
146
+ - ` animate-slide-in-end ` - Slide in from right
147
+
148
+ ### Sliding Exits
149
+
150
+ - ` animate-slide-out-down ` - Slide out to bottom
151
+ - ` animate-slide-out-up ` - Slide out to top
152
+ - ` animate-slide-out-start ` - Slide out to left
153
+ - ` animate-slide-out-end ` - Slide out to right
154
+
155
+ ### Specials
80
156
81
157
- ` animate-hinge ` - Door hinge effect
82
158
- ` animate-jack-in ` - Pop-up like jack-in-the-box
83
159
- ` animate-jack-out ` - Reverse jack-in effect
160
+ - ` animate-roll-in ` - Rolling entrance
161
+ - ` animate-roll-out ` - Rolling exit
162
+ - ` animate-particle ` - Particle effect
163
+
164
+ ### Zooming Entrances
165
+
166
+ - ` animate-zoom-in ` - Zoom entrance
167
+ - ` animate-zoom-in-down ` - Zoom in from top
168
+ - ` animate-zoom-in-up ` - Zoom in from bottom
169
+ - ` animate-zoom-in-start ` - Zoom in from left
170
+ - ` animate-zoom-in-end ` - Zoom in from right
171
+
172
+ ### Zooming Exits
84
173
85
- _ And many more..._
174
+ - ` animate-zoom-out ` - Zoom exit
175
+ - ` animate-zoom-out-down ` - Zoom out to bottom
176
+ - ` animate-zoom-out-up ` - Zoom out to top
177
+ - ` animate-zoom-out-start ` - Zoom out to left
178
+ - ` animate-zoom-out-end ` - Zoom out to right
86
179
87
180
## Control Utilities
88
181
@@ -127,12 +220,6 @@ _And many more..._
127
220
<div class =" animate-bounce animate-ease-in-out" >Smooth bounce</div >
128
221
```
129
222
130
- ### Composition
131
-
132
- ``` html
133
- <div class =" animate-bounce animate-wiggle animate-add" >Combined animations</div >
134
- ```
135
-
136
223
## CSS Custom Properties
137
224
138
225
Customize animations globally using CSS custom properties:
@@ -155,7 +242,9 @@ Customize animations globally using CSS custom properties:
155
242
### Hover Animations
156
243
157
244
``` html
158
- <button class =" hover:animate-wiggle transition-all" >Hover to wiggle</button >
245
+ <button class =" hover:animate-wiggle hover:animate-infinite" >
246
+ Hover to wiggle
247
+ </button >
159
248
```
160
249
161
250
### Responsive Animations
@@ -172,17 +261,13 @@ Customize animations globally using CSS custom properties:
172
261
<div class =" animate-spin animate-duration-[3.5s]" >Custom timing</div >
173
262
```
174
263
175
- ## Contributing
176
-
177
- Contributions are welcome! Please read our [ Contributing Guide] ( CONTRIBUTING.md ) for details.
178
-
179
264
## License
180
265
181
266
MIT License - see [ LICENSE] ( LICENSE.md ) file for details.
182
267
183
268
## Changelog
184
269
185
- See [ CHANGELOG.md ] ( CHANGELOG.md ) for version history.
270
+ See [ CHANGELOG] ( CHANGELOG.md ) for version history.
186
271
187
272
## Links
188
273
@@ -193,4 +278,4 @@ See [CHANGELOG.md](CHANGELOG.md) for version history.
193
278
194
279
---
195
280
196
- Made with ❤️ by [ @iscodex ] ( https://github.com/iscodex )
281
+ Made with ❤️ by [ @alckordev ] ( https://github.com/alckordev )
0 commit comments