
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
@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
The npm package @pagedotapp/page-accordion receives a total of 9 weekly downloads. As such, @pagedotapp/page-accordion popularity was classified as not popular.
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.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.