@shcnwc/shadcn-accordion-web-component
v1.3.2
Published
A vertically stacked set of interactive headings that each reveal a section of content.
Readme
Accordion
A vertically stacked set of interactive headings that each reveal a section of content.
Installation
npm install @shcnwc/shadcn-accordion-web-componentUsage
<script type="module">
import "@shcnwc/shadcn-accordion-web-component";
</script>
<accordion-root type="single">
<accordion-item value="item-1">
<accordion-trigger>is it accessible?</accordion-trigger>
<accordion-content>
yes- it adheres to the wai-aria design pattern-
</accordion-content>
</accordion-item>
</accordion-root>Links
Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
License
This project is licensed under the MIT License.
