ShadcnSpace

Animated Line Accordion

Component 1

About

An FAQ-style accordion whose active item gets a rounded highlighted background and animated plus/minus icon when expanded.

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

Code

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

Usage.tsx

import AccordionAnimatedLine from "@/components/ui/accordion-09";

export default function AccordionAnimatedLineDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <AccordionAnimatedLine />
    </div>
  );
}

Dependencies

More by ShadcnSpace

View all
  • Integration Card

    Integration Card

    1.8K
  • Stacked Card Carousel

    Stacked Card Carousel

    1.4K
  • Orbiting Circles with Globe

    Orbiting Circles with Globe

    1.4K
  • Button witn Icon

    Button witn Icon

    1.4K
  • Agency Hero Section

    Agency Hero Section

    663
  • Testimonials Marquee

    Testimonials Marquee

    574
  • Shine Border

    Shine Border

    468
  • Social Icon

    Social Icon

    447