List Circle (alonepro/list-circle)
The List Circle block is an orbital badge showcase featuring concentric SVG ring graphics framing a central editorial content box. Colored pill-shaped badges orbit continuously around the center, staying upright via automated counter-rotation geometry. It is ideally suited for cause categories, impact pillars, and "About Our Foundation" overviews.
Architecture & Layout
- Concentric SVG Rings: Dual outer and inner SVG rings provide an orbital guide for orbiting items.
- Center Hero Content: An anchor area holding an optional subheading, main headline, dashed divider, description paragraph, and primary call-to-action button.
- Orbital Pill Badges: Reusable badge items positioned evenly along the circle using trigonometric coordinates ($x = r \cdot \cos\theta$, $y = r \cdot \sin\theta$). Each badge counter-rotates as the parent ring spins so text remains easily readable.
Configuring Center Content
In the block inspector under Center Content Settings:
- Show Center Content: Toggle whether the middle text and CTA box is rendered.
- Sub Heading: Category prefix text (e.g.
OUR CORE PILLARS). - Heading: Main headline (e.g.
How We Deliver Lasting Change). - Show Divider: Toggle the styled dashed divider between heading and description.
- Description: Summary paragraph explaining your organizational pillars.
- Button Settings: Set button text, destination URL, and link target (
_selfor_blank).
Configuring Orbital Items
In the Items repeater:
- Click Add Item to introduce a new orbital badge.
- For each item:
- Text: Pillar or category title (e.g.
Emergency Medical Relief,Clean Water Wells,Literacy Programs). - Color: Hex code or token slug for the badge background blob.
- URL: Optional link target when visitors click the badge.
- Text: Pillar or category title (e.g.
Animation & Orbit Settings
| Setting | Type | Default | Description |
|---|---|---|---|
widgetSize | Number / String | 680 | Diameter of the outer orbit ring in pixels. |
enableRotation | Toggle | true | Continuously orbit badges around the center. |
rotationSpeed | Number | 60 | Duration in seconds for one full 360° revolution. |
pauseOnHover | Toggle | true | Pause orbital spin when the cursor hovers over any badge. |
enableScrollAnimation | Toggle | true | Reveal the block with a scale-up effect on scroll. |
Color Customization
Customizable palette controls available in the block inspector:
subHeadingColor,headingColor,dividerColor,descriptionColorbuttonBgColor,buttonTextColor,buttonBgColorHover,buttonTextColorHoverringOuterColor,ringInnerColoritemTextColor