lumesec

Pixel Accordion

Component 2

About

An accordion whose small pixel plus-sign icons fold into minus signs as panels open smoothly, for FAQs and collapsible content sections that allow one or several items open at once.

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

Code

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

Usage.tsx

import PxAccordion from "@/components/ui/px-accordion";

export default function PxAccordionDemo() {
  return (
    <div className="w-full max-w-xl">
      <PxAccordion
        defaultValue={["What is Ultracode?"]}
        items={[
          {
            title: "What is Ultracode?",
            content:
              "A mode that sends xhigh effort and lets the agent plan multi-agent workflows on its own.",
          },
          {
            title: "How is usage counted?",
            content:
              "Usage resets weekly. Longer reasoning and more agents use more of it.",
          },
          {
            title: "Can I export my data?",
            content:
              "Yes. Settings has an export that includes chats, projects and files.",
          },
        ]}
      />
    </div>
  );
}

More by lumesec

View all
  • Geo Traceroute

    Geo Traceroute

    79
  • Date Picker

    Date Picker

    25
  • Region Picker

    Region Picker

    20
  • Rotary Dial

    Rotary Dial

    19
  • Pixel Toaster

    Pixel Toaster

    14
  • Command Palette

    Command Palette

    11
  • Effort Slider

    Effort Slider

    9
  • Pixel Select

    Pixel Select

    7