unlumen

Unlumen Motion Faqs Accordion

Component 6

About

A clean Motion-powered FAQ accordion with spring-animated content reveal. From Unlumen UI.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Unlumen Motion Faqs Accordion to your project and fits it to your theme.

Code

How Unlumen Motion Faqs Accordion is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import {
  MotionAccordion,
  type MotionAccordionProps,
} from "@/components/ui/unlumen-motion-faqs-accordion";

const ITEMS = [
  {
    question: "What is Unlumen UI?",
    answer:
      "Unlumen UI is a collection of premium, open-source components built with Motion and Tailwind CSS. Each component is designed to be copy-pasteable, fully typed, and production-ready.",
  },
  {
    question: "Do I need to install a package?",
    answer:
      "No. Every component is delivered as source code via the registry. You copy what you need — no runtime dependency, no black-box abstractions.",
  },
  {
    question: "Is it compatible with shadcn/ui?",
    answer:
      "Yes. Unlumen UI components sit alongside shadcn/ui primitives. They share the same Tailwind CSS variables and can be mixed freely in any project.",
  },
  {
    question: "Can I use it commercially?",
    answer:
      "Free components are MIT-licensed. Premium components require an active license. See the pricing page for details.",
  },
  {
    question: "What animation library is used?",
    answer:
      "All animations use Motion (formerly Framer Motion). Springs, layout animations, and gesture handling are first-class — no CSS keyframes required.",
  },
];

type MotionAccordionDemoProps = Pick<MotionAccordionProps, "gap">;

const MotionAccordionDemo = ({ gap = 10 }: MotionAccordionDemoProps) => {
  return (
    <div className="w-full max-w-xl mx-auto px-4">
      <MotionAccordion items={ITEMS} gap={gap} />
    </div>
  );
};


export { MotionAccordionDemo };

export default function DefaultDemo() { return <MotionAccordionDemo />; }

Dependencies

More by unlumen

View all
  • Motion Navigation Menu

    Motion Navigation Menu

    271
  • Side By Side Slide

    Side By Side Slide

    228
  • Scroll Reveal Image

    Scroll Reveal Image

    222
  • Count Up

    Count Up

    145
  • Pixel Liquid Background

    Pixel Liquid Background

    106
  • Glow Button

    Glow Button

    97
  • Animated Sidebar

    Animated Sidebar

    95
  • Horizontal Depth Fade

    Horizontal Depth Fade

    78