Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: update docs

Dillion Verma448b04024837
diff --git a/content/components/number-ticker.mdx b/content/components/number-ticker.mdx
index c1a3b6dc..e09535e7 100644
--- a/content/components/number-ticker.mdx
+++ b/content/components/number-ticker.mdx
@@ -13,13 +13,18 @@ video: https://cdn.magicui.design/number-ticker.mp4
<Step>
-## Installation
+## Prerequisites
```bash
-npm install -D tailwindcss
npm install framer-motion
```
+</Step>
+
+<Step>
+
+## Installation
+
Copy and paste the following code into your project.
```text
diff --git a/content/components/ripple.mdx b/content/components/ripple.mdx
index f2777f42..33401d24 100644
--- a/content/components/ripple.mdx
+++ b/content/components/ripple.mdx
@@ -13,6 +13,41 @@ video: https://cdn.magicui.design/ripple.mp4
<Step>
+## Prerequisites
+
+```bash
+npm install -D tailwindcss
+```
+
+Copy and paste the following code into your project.
+
+```js
+// tailwind.config.js
+module.exports = {
+ theme: {
+ extend: {
+ animation: {
+ ripple: "ripple 3400ms ease infinite",
+ },
+ keyframes: {
+ ripple: {
+ "0%, 100%": {
+ transform: "translate(-50%, -50%) scale(1)",
+ },
+ "50%": {
+ transform: "translate(-50%, -50%) scale(0.9)",
+ },
+ },
+ },
+ },
+ },
+};
+```
+
+</Step>
+
+<Step>
+
## Installation
Copy and paste the following code into your project.