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 landing page demos

Dillion Vermad457355dc8cf
diff --git a/content/pages/home.mdx b/content/pages/home.mdx
index bf426475..bdf17e00 100644
--- a/content/pages/home.mdx
+++ b/content/pages/home.mdx
@@ -9,6 +9,7 @@ description: A collection of components that are used to build the landing page
<ComponentPreview name="blur-fade-demo" preview />
<ComponentPreview name="blur-fade-text-demo" preview />
<ComponentPreview name="retro-grid-demo" preview />
+<ComponentPreview name="magic-card-demo" preview />
<ComponentPreview name="border-beam-demo" preview />
<ComponentPreview name="animated-list-demo" preview />
<ComponentPreview name="animated-beam-demo" preview />
diff --git a/registry/components/example/blur-fade-demo.tsx b/registry/components/example/blur-fade-demo.tsx
index cc0cce7c..364629b2 100644
--- a/registry/components/example/blur-fade-demo.tsx
+++ b/registry/components/example/blur-fade-demo.tsx
@@ -12,7 +12,7 @@ export default function BlurFadeDemo() {
<section id="photos">
<div className="columns-2 gap-4 sm:columns-3">
{images.map((imageUrl, idx) => (
- <BlurFade key={imageUrl} delay={0.25 + idx * 0.05}>
+ <BlurFade key={imageUrl} delay={0.25 + idx * 0.05} inView>
<img
className="mb-4 size-full rounded-lg object-contain"
src={imageUrl}