Componentv1.0.0

Spinning Cube

A cube with six faces of pictures, words or colours, turning slowly in the air and spun by dragging. Solid, glass or lines.

Version
1.0.0
Created
18 Nov 2026
Updated
18 Nov 2026

Preview

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/spinning-cube@1.0.0

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/spinning-cube

Clone using git

Log in to see your access token.

git -c http.extraHeader="authorization-x: Bearer token" clone https://git.vueplay.io/git/b885c635-5dac-44cc-b92d-0ae65b4d94aa

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/spinning-cube@1.0.0/esm'
      createApp(App).mount('#app')
    </script>
  </head>
  <body>
    <div id="app"></div>
  </body>
</html>

Share on social media