A tag cloud with layout options and some preset styles.
Telex project here.
Prompt
Create a WordPress editor block that displays post tags in a customizable cloud format. The block fetches and displays site tags with sizes based on post count frequency.
In the editor, show actual tags or placeholder samples with live preview of all styling changes. Display settings panel with Content, Layout, and Style sections for intuitive customization.
On the frontend, render clickable tag links that open posts filtered by that tag. Tags scale in size based on post count with larger tags for popular topics.
Content controls: show all tags or manually select specific ones, set minimum post count threshold, limit maximum tags displayed, choose sort order alphabetical post count or random, toggle post count numbers, exclude unwanted tags.
Layout options: three display styles inline cloud with text wrapping, equal-width grid, or vertical list. Include alignment controls, spacing between tags using WordPress spacing scale, container max-width setting.
Style controls: typography with font size range for smallest to largest tags, colors for text background and hover states, border radius for pill shapes, internal padding, four preset styles plain text pill badges outlined buttons underlined links. Make sure all use native wordpress design tools and style tab.
Advanced features: custom separators between tags, optional view all tags link, subtle hover animations, keyboard navigation with focus states, proper aria labels including post counts.