Accordion
Questions and answers that fold: a list of titles, each opening its text. One open at a time, or several.
- Version
- 1.4.0
- Created
- 12 Nov 2026
- Updated
- 17 Nov 2026
Preview
A short answer that says the most important thing first.
Write the answer here. Add, move and remove questions in the list.
Say it plainly, and link to the prices when there is more to tell.
Install and use
Installation guide for external usage. The component is also in Vue Play Studio, to drag and drop.
Install using npm
npm install https://manager.vueplay.io/accordion@latest
Install using npm from Vue Play registry
Token required for private and paid components. Put this in .npmrc:
# .npmrc @vueplayio:registry=https://manager.vueplay.io/ //manager.vueplay.io/:_authToken=token
then
npm install @vueplayio/accordion
Clone using git
Log in to see your access token.
git -c http.extraHeader="authorization-x: Bearer token" clone https://git.vueplay.io/git/22859302-d48e-48b7-9dd2-cd24afdc9a59
Embed using CDN
<!doctype html>
<html>
<head>
<script type="importmap">
{
"imports": {
"vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.prod.js"
}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<script type="module">
import { createApp } from 'vue'
import App from 'https://manager.vueplay.io/accordion@1.4.0/esm'
createApp(App).mount('#app')
</script>
</head>
<body>
<div id="app"></div>
</body>
</html>