Socket
Socket
Sign inDemoInstall

@spark-web/accordion

Package Overview
Dependencies
85
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @spark-web/accordion

--- title: Accordion storybookPath: data-display-accordion--single isExperimentalPackage: true ---


Version published
Weekly downloads
21
Maintainers
2
Created
Weekly downloads
 

Readme

Source

title: Accordion storybookPath: data-display-accordion--single isExperimentalPackage: true

Accordions are a set of vertically stacked headings which can be toggled to reveal some associated section of content.

Example

<Accordion type="single" collapsible>
  <AccordionItem value="item-1" label="What is this?" level="4">
    <Text>This is an example accordion</Text>
  </AccordionItem>
  <AccordionItem value="item-2" label="Should I click this?" level="4">
    <Text>Yes</Text>
  </AccordionItem>
  <AccordionItem value="item-3" label="What is in it for me?" level="4">
    <Text>A nice accordion</Text>
  </AccordionItem>
</Accordion>

Props

Accordion

The root of the accordion block containing all parts of the accordion.

Additional div props are passed to the primitive radix accordion root component and are not listed.

AccordionItem

An accordion item section containing heading and collapsible content.

FAQs

Last updated on 23 Jan 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc