@opentagcloud/vue
Vue 3 adapter for openTagCloud — a dependency-free, self-packing, SSR-friendly tag cloud.
1,320
| Install | |
|---|---|
npm install @opentagcloud/vue |
|
| Latest Version: | 0.6.1 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 22, 2026 |
| Links: | GitHub · npm |
Maintainer: henrykoren
@opentagcloud/vue
Vue 3 adapter for openTagCloud — a dependency-free, self-packing, SSR-friendly tag cloud.
npm install @opentagcloud/vue
<script setup lang="ts">
import { TagCloud, type TagCloudItem } from '@opentagcloud/vue';
const items: TagCloudItem[] = [
{ label: 'JavaScript', weight: 95, href: '/tags/javascript' },
{ label: 'TypeScript', weight: 88 },
{ label: 'Rust', weight: 60 }, // no href → renders as a <span>
];
</script>
<template>
<div style="height: 320px">
<TagCloud :items="items" />
</div>
</template>
SSR/Nuxt-safe: tags render on the server with a justified no-JS fallback, and the deterministic per-tag scatter keeps server and client markup in sync.
Props (items, min-px, max-px, fill), theming custom properties, and the
layout algorithm are documented in the
project README.
License
MIT © Henry Koren
Related Packages
nuxt-define
One utility function for module authors to define compiler constants for all bui...
13,412,511
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.6.1 | ^3.3.0 | MIT | |
| 0.6.0 | ^3.3.0 | MIT | |
| 0.5.0 | ^3.3.0 | MIT | |
| 0.4.2 | ^3.3.0 | MIT | |
| 0.4.1 | ^3.3.0 | MIT | |
| 0.4.0 | ^3.3.0 | MIT | |
| 0.3.0 | ^3.3.0 | MIT |
Pre-releases (1)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.4.2-rc.0 | ^3.3.0 | MIT |