Content & Dashboard
Tag Cloud
Wrapping row of tag pills with optional count and active state for a tag archive page.
$ velocityx add tag-cloud Built for astro.
Needs a licence key —
subscribe here, then
velocityx loginonce.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| tags | Tag[] | No | [ { label: 'Astro', href: '#', count: 24 }, { label: 'React', href: '#', count: 18, active: true }, { label: 'Tailwind', href: '#', count: 15 }, { label: 'Supabase', href: '#', count: 9 }, { label: 'SEO', href: '#', count: 12 }, { label: 'Design systems', href: '#', count: 7 }, ] | |
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/tag-cloud/TagCloud.astro Using the Tag Cloud component
Install it with velocityx add tag-cloud.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from Content & Dashboard.
Vertical timestamped activity feed with a connecting dot-and-line rail between entries.
astroTwo-column article layout with a reader-width prose column and a sticky sidebar slot that collapses above content on mobile.
astroArticle title, byline, avatar, publish/updated date and read time above a divider.
astroAvatar, name, role, short bio and optional social links for an article sidebar or footer.
astro