Socket
Book a DemoInstallSign in
Socket

@blaze-react/accordion

Package Overview
Dependencies
Maintainers
7
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blaze-react/accordion

Accordion component is a list of headers that hide or reveal additional content when selected

latest
npmnpm
Version
0.8.0-alpha.112
Version published
Weekly downloads
438
44.08%
Maintainers
7
Weekly downloads
 
Created
Source

Description

Accordion component is a list of headers that hide or reveal additional content when selected.

Usage

<Accordion>
  <Accordion.Header>
    <p>Accordion text 1</p>
    <p>Accordion text 2</p>
  </Accordion.Header>
  <Accordion.Content>
    <Accordion.ContentDetails>
      <p>Content here. Components can be placed in here if needed</p>
      <p>Footer can be added below if needed</p>
    </Accordion.ContentDetails>
    <Accordion.ContentFooter>
      <Button name="button" modifiers="outline light rounded">
        Cancel
      </Button>
      <Button name="button" modifiers="rounded">
        Save
      </Button>
    </Accordion.ContentFooter>
  </Accordion.Content>
</Accordion>

API

Accordion menu can receive a number of props as follow:
NAMETYPEDEFAULT
isOpenBooleanfalse
isOpenBooleanfalse
onOpenFunction() => void
onCloseFunction() => void
childrensingle/array of nodesempty

FAQs

Package last updated on 01 Oct 2025

Did you know?

Socket

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.

Install

Related posts