Components
Accordion
Gopx Accordion

Gopx Accordion

Beautifully designed Accordion component for GopxWebUI (opens in a new tab) with Tailwind CSS and Framer Motion. Copy, paste, and customize to enhance your web projects effortlessly.

Tailwind CSS Framer Motion

This is the content for section 1.
Here's some information for section 2.
Section 3 contains this text.

Installation

Run the following command:

npx gopx-webui add accordion

Props

PropTypeRequiredDescription
titlestringYesThe title of the accordion item, displayed as a header.
descriptionstringYesThe content that will be shown or hidden when the accordion is toggled.
isActivebooleanYesA flag indicating whether the accordion is currently expanded or collapsed.
toggleActivefunctionYesA function that toggles the active state of the accordion when called.