Skip to content

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

fix: remove feature cards

Dillion Verma9331f3c750d4
diff --git a/registry/components/example/animated-feature-card-1.tsx b/registry/components/example/animated-feature-card-1.tsx
deleted file mode 100644
index 6a56cff7..00000000
--- a/registry/components/example/animated-feature-card-1.tsx
+++ /dev/null
@@ -1,155 +0,0 @@
-"use client";
-
-import { motion } from "framer-motion";
-
-export default function FeatureCard1() {
- const variant1 = {
- initial: {
- scale: 0.87,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- scale: 0.8,
- boxShadow:
- "rgba(245,40,145,0.35) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- };
- const variant2 = {
- initial: {
- y: -27,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: -55,
- scale: 0.87,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- };
- const variant3 = {
- initial: {
- y: -25,
- opacity: 0,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: -45,
- opacity: 1,
- scale: 1,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
- };
-
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col justify-between"
- >
- <div className="flex h-full w-full items-center justify-center rounded-t-xl">
- <div className="relative flex flex-col items-center justify-center gap-y-2 p-10">
- <motion.div
- variants={variant1}
- className="z-[1] flex h-full w-full items-center justify-between gap-x-2 rounded-md border bg-white p-5 px-2.5 dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/jack"
- alt="jack"
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
-
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- <motion.div
- variants={variant2}
- className="z-[2] flex h-full w-full items-center justify-between gap-x-2 rounded-md border bg-white p-5 px-2.5 dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/jane"
- alt="jane"
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- <motion.div
- variants={variant3}
- className="absolute bottom-0 z-[3] m-auto flex h-fit w-fit items-center justify-between gap-x-2 rounded-md border bg-white p-5 px-2.5 dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/jill"
- alt="jill"
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- </div>
- </div>
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Notifications</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Instantly get notified about events
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-10.tsx b/registry/components/example/animated-feature-card-10.tsx
deleted file mode 100644
index dc7e330d..00000000
--- a/registry/components/example/animated-feature-card-10.tsx
+++ /dev/null
@@ -1,145 +0,0 @@
-"use client";
-
-import { useEffect, useRef } from "react";
-import {
- AnimatePresence,
- cubicBezier,
- motion,
- useAnimation,
- useInView,
-} from "framer-motion";
-
-const cardImage = [
- {
- id: 1,
- title: "Tom",
- link: "#",
- image: "https://avatar.vercel.sh/tom",
- },
- {
- id: 2,
- title: "Chris",
- link: "#",
- image: "https://avatar.vercel.sh/chris",
- },
- {
- id: 3,
- title: "PJ",
- link: "#",
- image: "https://avatar.vercel.sh/pj",
- },
- {
- id: 4,
- title: "Scott",
- link: "#",
- image: "https://avatar.vercel.sh/scott",
- },
- {
- id: 5,
- title: "Yehuda",
- link: "#",
- image: "https://avatar.vercel.sh/yehuda",
- },
- {
- id: 6,
- title: "Ezra",
- link: "#",
- image: "https://avatar.vercel.sh/ezra",
- },
- {
- id: 7,
- title: "Ivey",
- link: "#",
- image: "https://avatar.vercel.sh/ivey",
- },
- {
- id: 8,
- title: "Evan",
- link: "#",
- image: "https://avatar.vercel.sh/evan",
- },
- {
- id: 9,
- title: "Van",
- link: "#",
- image: "https://avatar.vercel.sh/van",
- },
-];
-
-export default function FeatureCard10() {
- const containerRef = useRef(null);
- const inView = useInView(containerRef, { amount: 0.25 });
- const controls = useAnimation();
-
- useEffect(() => {
- if (inView) {
- controls.start("visible");
- } else {
- controls.start("hidden");
- }
- }, [inView, controls]);
-
- return (
- <div className="flex h-full transform-gpu flex-col items-center justify-between gap-5 rounded-lg border border-neutral-200 bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-transparent dark:backdrop-blur-md dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] xl:flex-row">
- <div className="flex w-full flex-col items-start justify-between gap-y-10 p-10 xl:h-full xl:w-1/2">
- <h2 className="text-3xl font-semibold">
- Magic UI let's you build amazing websites with all your friends.
- </h2>
- <a
- href="#"
- className="text-base font-normal text-gray-500 underline-offset-4 transition-all hover:underline"
- >
- Check out our showcase
- </a>
- </div>
- <div className="relative w-full overflow-hidden xl:w-1/2">
- <div className="pointer-events-none absolute inset-x-0 top-0 z-10 h-1/3 bg-gradient-to-b from-white dark:from-black"></div>
- <div
- ref={containerRef}
- className="relative -right-[50px] -top-[100px] grid max-h-[450px] grid-cols-3 gap-5 [transform:rotate(-15deg)translateZ(10px);]"
- >
- <AnimatePresence>
- {cardImage.map((card, index) => (
- <motion.div
- variants={{
- hidden: { opacity: 0, scale: 0.96, y: 25 },
- visible: { opacity: 1, scale: 1, y: 0 },
- }}
- initial="hidden"
- animate={controls}
- exit={{
- opacity: 0,
- scale: 0,
- transition: {
- duration: 0.1,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- }}
- transition={{
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- delay: index * 0.04,
- }}
- key={card.id}
- className="flex flex-col items-center gap-y-2 rounded-md border bg-white/5 p-5"
- >
- <img
- src={card.image}
- alt={card.title}
- className="h-20 w-20 rounded-full object-cover"
- />
- <p className="text-sm dark:text-neutral-200/50">{card.title}</p>
- <a
- href={card.link}
- className="rounded-md border border-neutral-700/50 bg-neutral-600 p-2 py-0.5 text-white shadow-xl drop-shadow-lg hover:bg-neutral-500 dark:border-neutral-400/20 dark:bg-gray-500"
- >
- Website
- </a>
- </motion.div>
- ))}
- </AnimatePresence>
- </div>
- </div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-2.tsx b/registry/components/example/animated-feature-card-2.tsx
deleted file mode 100644
index 187699da..00000000
--- a/registry/components/example/animated-feature-card-2.tsx
+++ /dev/null
@@ -1,105 +0,0 @@
-"use client";
-
-import { cubicBezier, motion } from "framer-motion";
-import { Clock, Download, MessageCircle, Star } from "lucide-react";
-
-const texts = [
- {
- id: 1,
- header: "New Feature Release.",
- subheader: "Experience our app's latest features now.",
- icon: <Star />,
- },
- {
- id: 2,
- header: "App Update Available.",
- subheader:
- "A new update is available for download. Get the latest version!",
- icon: <Download />,
- },
- {
- id: 3,
- header: "Scheduled Maintenance.",
- subheader:
- "Our app will be temporarily unavailable due to scheduled maintenance.",
- icon: <Clock />,
- },
- {
- id: 4,
- header: "Feedback Appreciated.",
- subheader:
- "We'd love to hear your thoughts on our app. Share your feedback!",
- icon: <MessageCircle />,
- },
-];
-
-export default function FeatureCard2() {
- const itemVariants = {
- initial: (index: number) => ({
- y: 0,
- scale: index === 3 ? 0.85 : 1,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- }),
- whileHover: (index: number) => ({
- y: -110,
- opacity: 1,
- scale: index === 0 ? 0.85 : index === 3 ? 1 : 1,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- }),
- };
-
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col justify-between"
- >
- <div className="flex h-full w-full items-center justify-center rounded-t-xl">
- <motion.div className="flex h-[310px] w-full cursor-pointer flex-col gap-y-5 overflow-hidden rounded-t-md p-5">
- {texts.map((text, index) => (
- <motion.div
- key={text.id}
- className="w-full origin-right rounded-md border border-slate-300/50 p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] dark:border-neutral-800 dark:bg-neutral-900"
- custom={index}
- variants={itemVariants}
- >
- <div className="flex flex-row gap-2">
- {text.icon}
- <p className="text-black dark:text-white">{text.header}</p>
- </div>
- <p className="text-gray-400 dark:text-gray-400">
- {text.subheader}
- </p>
- </motion.div>
- ))}
- </motion.div>
- </div>
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Notifications</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Instantly get notified about events
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-3.tsx b/registry/components/example/animated-feature-card-3.tsx
deleted file mode 100644
index 713529aa..00000000
--- a/registry/components/example/animated-feature-card-3.tsx
+++ /dev/null
@@ -1,105 +0,0 @@
-"use client";
-
-import { cubicBezier, motion } from "framer-motion";
-
-export default function FeatureCard3() {
- const variant1 = {
- initial: {
- y: 4,
- scale: 0.5,
- opacity: 0,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- y: -2,
- opacity: 1,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
- const variant2 = {
- initial: {
- y: -2,
- opacity: 1,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- y: 8,
- opacity: 1,
- scale: 1.05,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
-
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col justify-between"
- >
- <motion.div className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-2 overflow-hidden rounded-t-xl p-8">
- <motion.p
- variants={variant1}
- className="w-fit rounded-full border px-2 text-[15px]"
- >
- Make it Pop ✨
- </motion.p>
- <motion.div
- variants={variant2}
- className="flex max-w-[300px] items-start gap-x-2 rounded-lg border border-neutral-300 border-neutral-400/20 bg-white p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="flex h-6 w-6 shrink-0 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/jane"
- alt="jane"
- />
- </div>
- <div>
- <h3 className="text-base font-semibold">Josh</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- </p>
- </div>
- </motion.div>
- </motion.div>
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">AI Co-Pilot</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Use AI to make your writing stand out
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-4.tsx b/registry/components/example/animated-feature-card-4.tsx
deleted file mode 100644
index 91a73390..00000000
--- a/registry/components/example/animated-feature-card-4.tsx
+++ /dev/null
@@ -1,167 +0,0 @@
-"use client";
-
-import { cubicBezier, motion } from "framer-motion";
-
-export default function FeatureCard4() {
- const variant1 = {
- initial: {
- x: 35,
- y: 5,
- scale: 0.8,
- rotate: -3,
- zIndex: 1,
- transition: {
- delay: 0.05,
- duration: 0.1,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- x: 0,
- y: 0,
- scale: 1,
- rotate: 0,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.1,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
- const variant2 = {
- initial: {
- scale: 1.1,
- zIndex: 2,
- transition: {
- delay: 0.05,
- duration: 0.1,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- scale: 1,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.1,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
- const variant3 = {
- initial: {
- x: -35,
- y: 5,
- scale: 0.8,
- rotate: 3,
- zIndex: 1,
- transition: {
- delay: 0.05,
- duration: 0.1,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- x: 0,
- y: 0,
- scale: 1,
- rotate: 0,
- boxShadow:
- "rgba(245,40,145,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.1,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
-
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] dark:[border:1px_solid_rgba(255,255,255,.1)] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
- >
- <div className="flex h-full w-full items-center justify-center rounded-t-xl bg-transparent p-10">
- <motion.div className="flex h-[230px] w-full items-center justify-between gap-x-4">
- <motion.div
- variants={variant1}
- className="z-[3] flex h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/jack"
- alt="jack"
- />
- </div>
- <div className="grid grid-cols-2 gap-2">
- <div className="h-2 w-10 rounded-full bg-neutral-700/50"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-400/80"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-300/80"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-600/80"></div>
- </div>
- </motion.div>
- <motion.div
- variants={variant2}
- className="z-[3] flex h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/christina"
- alt="christina"
- />
- </div>
- <div className="grid grid-cols-2 gap-2">
- <div className="h-2 w-10 rounded-full bg-neutral-700/50"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-400/80"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-300/80"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-600/80"></div>
- </div>
- </motion.div>
- <motion.div
- variants={variant3}
- className="z-[3] flex h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/joshua"
- alt="joshua"
- />
- </div>
- <div className="grid grid-cols-2 gap-2">
- <div className="h-2 w-10 rounded-full bg-neutral-700/50"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-400/80"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-300/80"></div>
- <div className="h-2 w-10 rounded-full bg-neutral-600/80"></div>
- </div>
- </motion.div>
- </motion.div>
- </div>
-
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Social</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Write once, share with your friends
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-5.tsx b/registry/components/example/animated-feature-card-5.tsx
deleted file mode 100644
index a67b3444..00000000
--- a/registry/components/example/animated-feature-card-5.tsx
+++ /dev/null
@@ -1,109 +0,0 @@
-"use client";
-
-import { cubicBezier, motion } from "framer-motion";
-
-export default function FeatureCard5() {
- const variant1 = {
- initial: {
- viewBox: "0 -950 366 1408",
- filter: "saturate(0.3)",
- opacity: 0.5,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- viewBox: "0 -60 366 310",
- filter: "saturate(1)",
- opacity: 1,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
- const variant2 = {
- initial: {
- y: 0,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- y: 0,
- transition: {
- delay: 0.05,
- duration: 0.3,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
-
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
- >
- <div className="relative flex h-full w-full cursor-pointer items-center justify-center overflow-hidden rounded-t-xl bg-transparent p-10">
- <div className="relative h-[150px] w-full cursor-pointer overflow-hidden rounded-xl border border-slate-200/50 bg-white dark:border-neutral-700/50 dark:bg-neutral-900">
- <motion.p
- variants={variant2}
- className="absolute left-5 top-5 w-fit text-[15px]"
- >
- +245%
- </motion.p>
- <motion.svg
- variants={variant1}
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- preserveAspectRatio="none"
- className="absolute inset-0 h-full w-full"
- viewBox="0 -950 366 1408"
- >
- <path
- fill="url(#a)"
- d="M0 193c109.5 0 260.5-52.5 366-192.5v907H0V193Z"
- />
- <defs>
- <linearGradient
- id="a"
- x1={183}
- x2={183}
- y1={0.5}
- y2={262}
- gradientUnits="userSpaceOnUse"
- >
- <stop stopColor="#22c55e" />
- <stop offset={1} stopColor="#15803d" />
- </linearGradient>
- </defs>
- </motion.svg>
- </div>
- </div>
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Growth</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Invest and watch your money grow
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-6.tsx b/registry/components/example/animated-feature-card-6.tsx
deleted file mode 100644
index 30afc73f..00000000
--- a/registry/components/example/animated-feature-card-6.tsx
+++ /dev/null
@@ -1,121 +0,0 @@
-"use client";
-
-import { cubicBezier, motion } from "framer-motion";
-
-export default function FeatureCard6() {
- const variant1 = {
- initial: {
- y: 0,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- y: 25,
- x: 10,
- scale: 1,
- rotate: -2,
- boxShadow:
- "rgba(39,127,245,0.35) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
- const variant2 = {
- initial: {
- y: 0,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- y: -25,
- x: -10,
- scale: 1,
- rotate: 3,
- boxShadow:
- "rgba(39,245,76,0.35) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
-
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
- >
- <div className="flex h-[300px] w-full items-center justify-center rounded-t-xl bg-transparent ">
- <div className="relative flex cursor-pointer flex-col items-center justify-center gap-y-2 p-14">
- <motion.div
- variants={variant1}
- className="dark:bg-neutral-980 z-[3] flex h-full w-full items-center justify-between gap-x-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/jack"
- alt="jack"
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- <motion.div
- variants={variant2}
- className="absolute bottom-14 z-[2] m-auto flex h-fit w-fit items-center justify-between gap-x-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/jack"
- alt="jack"
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- </div>
- </div>
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Share</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Share results with your friends
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-7.tsx b/registry/components/example/animated-feature-card-7.tsx
deleted file mode 100644
index 8deaf8f9..00000000
--- a/registry/components/example/animated-feature-card-7.tsx
+++ /dev/null
@@ -1,173 +0,0 @@
-"use client";
-
-import { useEffect, useId, useRef, useState } from "react";
-import { motion, useAnimation, useInView } from "framer-motion";
-import {
- BarChart,
- File,
- Globe,
- HeartHandshake,
- Rss,
- Shield,
-} from "lucide-react";
-
-import { cn } from "@/lib/utils";
-import Marquee from "@/components/magicui/marquee";
-
-const tiles = [
- {
- icon: <HeartHandshake className="size-full" />,
- bg: (
- <div className="pointer-events-none absolute left-1/2 top-1/2 h-1/2 w-1/2 -translate-x-1/2 -translate-y-1/2 overflow-visible rounded-full bg-gradient-to-r from-orange-600 via-rose-600 to-violet-600 opacity-70 blur-[20px] filter"></div>
- ),
- },
- {
- icon: <Globe className="size-full" />,
- bg: (
- <div className="pointer-events-none absolute left-1/2 top-1/2 h-1/2 w-1/2 -translate-x-1/2 -translate-y-1/2 overflow-visible rounded-full bg-gradient-to-r from-cyan-500 via-blue-500 to-indigo-500 opacity-70 blur-[20px] filter"></div>
- ),
- },
- {
- icon: <File className="size-full" />,
- bg: (
- <div className="pointer-events-none absolute left-1/2 top-1/2 h-1/2 w-1/2 -translate-x-1/2 -translate-y-1/2 overflow-visible rounded-full bg-gradient-to-r from-green-500 via-teal-500 to-emerald-600 opacity-70 blur-[20px] filter"></div>
- ),
- },
- {
- icon: <Shield className="size-full" />,
- bg: (
- <div className="pointer-events-none absolute left-1/2 top-1/2 h-1/2 w-1/2 -translate-x-1/2 -translate-y-1/2 overflow-visible rounded-full bg-gradient-to-r from-yellow-400 via-orange-500 to-yellow-600 opacity-70 blur-[20px] filter"></div>
- ),
- },
- {
- icon: <Rss className="size-full" />,
- bg: (
- <div className="pointer-events-none absolute left-1/2 top-1/2 h-1/2 w-1/2 -translate-x-1/2 -translate-y-1/2 overflow-visible rounded-full bg-gradient-to-r from-orange-600 via-rose-600 to-violet-600 opacity-70 blur-[20px] filter"></div>
- ),
- },
- {
- icon: <BarChart className="size-full" />,
- bg: (
- <div className="pointer-events-none absolute left-1/2 top-1/2 h-1/2 w-1/2 -translate-x-1/2 -translate-y-1/2 overflow-visible rounded-full bg-gradient-to-r from-gray-600 via-gray-500 to-gray-400 opacity-70 blur-[20px] filter"></div>
- ),
- },
-];
-
-const shuffleArray = (array: any[]) => {
- let currentIndex = array.length,
- randomIndex;
- // While there remain elements to shuffle.
- while (currentIndex !== 0) {
- // Pick a remaining element.
- randomIndex = Math.floor(Math.random() * currentIndex);
- currentIndex--;
- // And swap it with the current element.
- [array[currentIndex], array[randomIndex]] = [
- array[randomIndex],
- array[currentIndex],
- ];
- }
- return array;
-};
-
-const Card = (card: { icon: JSX.Element; bg: JSX.Element }) => {
- const id = useId();
- const controls = useAnimation();
- const ref = useRef(null);
- const inView = useInView(ref, { once: true });
-
- useEffect(() => {
- if (inView) {
- controls.start({
- opacity: 1,
- transition: { delay: Math.random() * 2, ease: "easeOut", duration: 1 },
- });
- }
- }, [controls, inView]);
-
- return (
- <motion.div
- key={id}
- ref={ref}
- initial={{ opacity: 0 }}
- animate={controls}
- className={cn(
- "relative size-20 cursor-pointer overflow-hidden rounded-2xl border p-4",
- // light styles
- "bg-white",
- // dark styles
- "transform-gpu dark:bg-transparent dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",
- )}
- >
- {card.icon}
- {card.bg}
- </motion.div>
- );
-};
-
-export default function FeatureCard7() {
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
- const [randomTiles1] = useState(() => shuffleArray([...tiles]));
- const [randomTiles2] = useState(() => shuffleArray([...tiles]));
- const [randomTiles3] = useState(() => shuffleArray([...tiles]));
- const [randomTiles4] = useState(() => shuffleArray([...tiles]));
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
- >
- <div className="group relative flex h-[300px] w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl p-4">
- <div className="relative flex flex-col items-center justify-center gap-y-2 px-10">
- <Marquee
- reverse
- className="-delay-[200ms] [--duration:20s]"
- repeat={4}
- >
- {randomTiles1.map((review, idx) => (
- <Card key={idx} {...review} />
- ))}
- </Marquee>
- <Marquee reverse className="[--duration:30s]" repeat={4}>
- {randomTiles2.map((review, idx) => (
- <Card key={idx} {...review} />
- ))}
- </Marquee>
- <Marquee
- reverse
- className="-delay-[200ms] [--duration:20s]"
- repeat={4}
- >
- {randomTiles3.map((review, idx) => (
- <Card key={idx} {...review} />
- ))}
- </Marquee>
- <Marquee reverse className="[--duration:30s]" repeat={4}>
- {randomTiles4.map((review, idx) => (
- <Card key={idx} {...review} />
- ))}
- </Marquee>
- <div className="pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-background"></div>
- <div className="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background"></div>
- </div>
- </div>
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Integrations</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Integrate with all your favourite apps
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-8.tsx b/registry/components/example/animated-feature-card-8.tsx
deleted file mode 100644
index f6708d67..00000000
--- a/registry/components/example/animated-feature-card-8.tsx
+++ /dev/null
@@ -1,151 +0,0 @@
-"use client";
-
-import { cubicBezier, motion } from "framer-motion";
-
-export default function FeatureCard8() {
- const variant1 = {
- initial: {
- y: 0,
- scale: 0.97,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- y: -45,
- scale: 1,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
- const variant2 = {
- initial: {
- y: 30,
- opacity: 0,
- scale: 0.97,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- y: 10,
- opacity: 1,
- scale: 1,
- boxShadow:
- "rgba(245,40,145,0.05) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
- const variant3 = {
- initial: {
- x: 30,
- y: 20,
- opacity: 0,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- whileHover: {
- x: 5,
- y: 5,
- opacity: 1,
- boxShadow:
- "rgba(39,245,76,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- },
- };
-
- const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
- };
-
- return (
- <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
- >
- <div className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl bg-transparent">
- <div className="relative flex flex-col items-center justify-center gap-y-2 px-10 py-20">
- <motion.div
- variants={variant1}
- className=" relative flex items-start gap-x-2 rounded-lg border border-neutral-400/20 bg-white p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="h-6 w-6 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/joshua"
- alt="joshua"
- />
- </div>
- <div className="w-[calc(100%-3rem)]">
- <h3 className="text-base font-semibold">Mary</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- I think the design can be improved
- </p>
- </div>
- </motion.div>
- <motion.div
- variants={variant2}
- className=" absolute inset-10 -bottom-14 z-[3] m-auto flex h-fit items-start gap-x-2 rounded-lg border border-neutral-400/20 bg-white p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] dark:border-neutral-800 dark:bg-neutral-900"
- >
- <div className="w-8 ">
- <div className="h-6 w-6 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://avatar.vercel.sh/christina"
- alt="christina"
- />
- </div>
- </div>
- <div className="w-[calc(100%-3rem)]">
- <h3 className="text-base font-semibold">Joshua</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- On it ✅
- </p>
- </div>
- <motion.p
- variants={variant3}
- className="highlighted absolute -bottom-2 right-2 w-fit rounded-full border bg-cyan-500 px-2 py-0.5 text-xs text-white"
- >
- sent
- </motion.p>
- </motion.div>
- </div>
- </div>
- <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Reply</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Reply to other creators in app
- </p>
- </div>
- </motion.div>
- </div>
- );
-}
diff --git a/registry/components/example/animated-feature-card-9.tsx b/registry/components/example/animated-feature-card-9.tsx
deleted file mode 100644
index 21a91de3..00000000
--- a/registry/components/example/animated-feature-card-9.tsx
+++ /dev/null
@@ -1,162 +0,0 @@
-"use client";
-
-import React, { ReactElement, useEffect, useMemo, useState } from "react";
-import { AnimatePresence, motion } from "framer-motion";
-
-import { cn } from "@/lib/utils";
-
-export const AnimatedList = React.memo(
- ({
- className,
- children,
- delay = 1000,
- }: {
- className?: string;
- children: React.ReactNode;
- delay?: number;
- }) => {
- const [index, setIndex] = useState(0);
- const childrenArray = React.Children.toArray(children);
-
- useEffect(() => {
- const interval = setInterval(() => {
- setIndex((prevIndex) => (prevIndex + 1) % childrenArray.length);
- }, delay);
-
- return () => clearInterval(interval);
- }, [childrenArray.length, delay]);
-
- const itemsToShow = useMemo(
- () => childrenArray.slice(0, index + 1).reverse(),
- [index, childrenArray],
- );
-
- return (
- <div className={`flex flex-col items-center gap-4 ${className}`}>
- <AnimatePresence>
- {itemsToShow.map((item) => (
- <AnimatedListItem key={(item as ReactElement).key}>
- {item}
- </AnimatedListItem>
- ))}
- </AnimatePresence>
- </div>
- );
- },
-);
-
-AnimatedList.displayName = "AnimatedList";
-
-export function AnimatedListItem({ children }: { children: React.ReactNode }) {
- const animations = {
- initial: { scale: 0, opacity: 0 },
- animate: { scale: 1, opacity: 1, originY: 0 },
- exit: { scale: 0, opacity: 0 },
- transition: { type: "spring", stiffness: 350, damping: 40 },
- };
-
- return (
- <motion.div {...animations} layout className="mx-auto w-full">
- {children}
- </motion.div>
- );
-}
-
-interface Item {
- name: string;
- description: string;
- icon: string;
- color: string;
- time: string;
-}
-
-let notifications = [
- {
- name: "Payment received",
- description: "Magic UI",
- time: "15m ago",
-
- icon: "💸",
- color: "#00C9A7",
- },
- {
- name: "User signed up",
- description: "Magic UI",
- time: "10m ago",
- icon: "👤",
- color: "#FFB800",
- },
- {
- name: "New message",
- description: "Magic UI",
- time: "5m ago",
- icon: "💬",
- color: "#FF3D71",
- },
- {
- name: "New event",
- description: "Magic UI",
- time: "2m ago",
- icon: "🗞️",
- color: "#1E86FF",
- },
-];
-
-notifications = Array.from({ length: 10 }, () => notifications).flat();
-
-const Notification = ({ name, description, icon, color, time }: Item) => {
- return (
- <figure
- className={cn(
- "relative mx-auto min-h-fit w-full max-w-[400px] transform cursor-pointer overflow-hidden rounded-lg p-4",
- // animation styles
- "transition-all duration-200 ease-in-out hover:scale-[103%]",
- // light styles
- "bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)]",
- // dark styles
- "transform-gpu dark:bg-transparent dark:backdrop-blur-md dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",
- )}
- >
- <div className="flex flex-row items-center gap-3">
- <div
- className="flex h-10 w-10 items-center justify-center rounded-2xl"
- style={{
- backgroundColor: color,
- }}
- >
- <span className="text-lg">{icon}</span>
- </div>
- <div className="flex flex-col overflow-hidden">
- <figcaption className="flex flex-row items-center whitespace-pre text-lg font-medium dark:text-white ">
- <span className="text-sm sm:text-lg">{name}</span>
- <span className="mx-1">·</span>
- <span className="text-xs text-gray-500">{time}</span>
- </figcaption>
- <p className="text-sm font-normal dark:text-white/60">
- {description}
- </p>
- </div>
- </div>
- </figure>
- );
-};
-
-export default function FeatureCard9() {
- return (
- <div className="relative flex h-full max-h-[500px] min-h-[500px] w-full max-w-[32rem] transform-gpu flex-col justify-between overflow-hidden rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]">
- <div className="flex items-center justify-center overflow-hidden">
- <AnimatedList>
- {notifications.map((item, idx) => (
- <Notification {...item} key={idx} />
- ))}
- </AnimatedList>
- </div>
- <div className="flex flex-col items-start gap-y-1 border-t p-4 dark:border-neutral-800">
- <h2 className="text-xl font-semibold">Notifications</h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Get realtime notifications for events you subscribe too
- </p>
- </div>
- </div>
- );
-}
diff --git a/registry/index.tsx b/registry/index.tsx
index 80231f06..94a366fc 100644
--- a/registry/index.tsx
+++ b/registry/index.tsx
@@ -599,88 +599,6 @@ const example: Registry = {
import("@/registry/components/example/animated-beam-multiple-outputs"),
),
},
- "animated-feature-card-1": {
- name: "animated-feature-card-1",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-1.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-1"),
- ),
- },
- "animated-feature-card-2": {
- name: "animated-feature-card-2",
- type: "components:example",
- dependencies: ["lucide-react"],
- files: ["registry/components/example/animated-feature-card-2.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-2"),
- ),
- },
- "animated-feature-card-3": {
- name: "animated-feature-card-3",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-3.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-3"),
- ),
- },
- "animated-feature-card-4": {
- name: "animated-feature-card-4",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-4.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-4"),
- ),
- },
- "animated-feature-card-5": {
- name: "animated-feature-card-5",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-5.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-5"),
- ),
- },
- "animated-feature-card-6": {
- name: "animated-feature-card-6",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-6.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-6"),
- ),
- },
- "animated-feature-card-7": {
- name: "animated-feature-card-7",
- type: "components:example",
- registryDependencies: ["marquee"],
- files: ["registry/components/example/animated-feature-card-7.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-7"),
- ),
- },
- "animated-feature-card-8": {
- name: "animated-feature-card-8",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-8.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-8"),
- ),
- },
- "animated-feature-card-9": {
- name: "animated-feature-card-9",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-9.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-9"),
- ),
- },
- "animated-feature-card-10": {
- name: "animated-feature-card-10",
- type: "components:example",
- files: ["registry/components/example/animated-feature-card-10.tsx"],
- component: React.lazy(
- () => import("@/registry/components/example/animated-feature-card-10"),
- ),
- },
"text-reveal-demo": {
name: "text-reveal-demo",
type: "components:example",