
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@pagedotapp/page-accordion
Advanced tools
A reusable accordion component for React applications.
npm install @pagedotapp/page-accordion
import { PageAccordion } from "@pagedotapp/page-accordion"
function App() {
return (
<PageAccordion variant="primary" size="medium">
PageAccordion Content
</PageAccordion>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | - | Component children |
className | string | '' | Additional CSS class name |
variant | 'default' | 'primary' | 'secondary' | 'default' | Component variant |
size | 'small' | 'medium' | 'large' | 'medium' | Component size |
disabled | boolean | false | Disabled state |
<PageAccordion variant="default">Default</PageAccordion>
<PageAccordion variant="primary">Primary</PageAccordion>
<PageAccordion variant="secondary">Secondary</PageAccordion>
<PageAccordion size="small">Small</PageAccordion>
<PageAccordion size="medium">Medium</PageAccordion>
<PageAccordion size="large">Large</PageAccordion>
<PageAccordion disabled>Disabled</PageAccordion>
The component uses CSS modules for styling. You can override styles by passing a custom className or by targeting the component's CSS classes in your global styles.
To run the component in development mode:
npm run storybook
To run tests:
npm run test
To lint the component:
npm run lint
FAQs
PageAccordion - A reusable React component
We found that @pagedotapp/page-accordion demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.