|
/ Documentation /Spectra 3 Beta/ List Block In Spectra

List Block In Spectra

Introduction

The List Block is an enhanced version of WordPress’s standard list functionality, offering advanced styling options, custom icons, and extensive customization capabilities. Perfect for creating feature lists, step-by-step instructions, table of contents, or any structured content that needs visual hierarchy. Unlike the core list block, this block allows you to use custom icons, advanced numbering styles, and individual item styling.

How to Add or Use the Block in the Gutenberg Editor

  1. Adding the Block
    • Click the “+” button to open the block inserter
    • Search for “List” or navigate to the Spectra category
    • Click on the List Block to add it to your page
    • The block starts with three default list items
  2. Adding List Items
    • Type your content in the first item
    • Press Enter to create a new list item
    • Press Tab to create a nested sub-list
    • Press Shift+Tab to outdent items
  3. Customizing List Style
    • Use the toolbar to switch between ordered/unordered
    • For unordered lists: Choose custom icons
    • For ordered lists: Select numbering style
    • Apply colors and styling from the settings panel

Block Styling Options

List Settings Panel

List Type Settings

OptionDescriptionAvailable Settings
List TypeChoose list formatUnordered (bullets), Ordered (numbers)
LayoutList orientationVertical, Horizontal

Unordered List Options

OptionDescriptionAvailable Settings
IconCustom bullet iconIcon picker with categories
Icon SizeSize of list icons10-100px
Icon RotationRotate icon angle0-360 degrees
Flip for RTLMirror icons for RTLOn/Off toggle

Ordered List Options

OptionDescriptionAvailable Settings
List StyleNumbering formatSee table below
Start ValueBeginning numberAny integer
ReversedCount backwardsOn/Off toggle
Numbering Styles
StyleExampleDescription
Decimal1, 2, 3Standard numbers
Decimal Leading Zero01, 02, 03Numbers with leading zeros
Upper AlphaA, B, CUppercase letters
Lower Alphaa, b, cLowercase letters
Upper RomanI, II, IIIUppercase Roman numerals
Lower Romani, ii, iiiLowercase Roman numerals

Color Settings

OptionDescriptionAvailable Settings
Text ColorList item text colorColor picker
Text Hover ColorText color on hoverColor picker
Background ColorItem backgroundColor/Gradient picker
Background HoverBackground on hoverColor/Gradient picker

Typography & Spacing

OptionDescriptionAvailable Settings
TypographyText stylingFont, size, weight, line height
Block GapSpace between items0-100px (Responsive)
PaddingInternal item spacingTop, Right, Bottom, Left
MarginExternal list spacingTop, Right, Bottom, Left

Advanced Features

Custom Icons for Lists

Transform boring bullets into engaging visuals:

  1. Select an unordered list
  2. Open the icon picker
  3. Choose from hundreds of Font Awesome icons
  4. Customize size and rotation
  5. Icons automatically update for all items

Popular icon choices:

  • Checkmarks for feature lists
  • Arrows for process steps
  • Stars for highlights
  • Pins for locations
  • Lightbulbs for tips

Advanced Numbering

Advanced numbering examples

Create sophisticated numbered lists:

  • Legal Documents: Use Roman numerals (I, II, III)
  • Outline Format: Combine letters and numbers
  • Technical Docs: Leading zeros (01, 02, 03)
  • Reverse Lists: Countdown format
  • Custom Start: Begin from any number

Horizontal Lists

Perfect for:

  • Navigation menus
  • Tag lists
  • Inline options
  • Social media links
  • Breadcrumb trails

Nested Lists

Nested list examples

Create hierarchical content:

  • Press Tab to indent (create sub-list)
  • Press Shift+Tab to outdent
  • Mix ordered and unordered lists
  • Each level can have different styling
  • Unlimited nesting levels

Block Toolbar Options

List toolbar

List Block Toolbar

  • List Type Toggle: Switch between ordered/unordered
  • Text Alignment: Align list content
  • Indent/Outdent: Create nested lists
  • Transform: Convert to other blocks

Individual Item Options

  • Move items up/down
  • Delete specific items
  • Convert to paragraph

Common Use Cases

  1. Feature Lists: Product features with checkmark icons
  2. Step-by-Step Guides: Numbered instructions
  3. Table of Contents: Hierarchical document structure
  4. FAQ Lists: Questions with custom icons
  5. Navigation Menus: Horizontal lists with links
  6. Pros and Cons: Different icons for positive/negative
  7. Contact Information: Icons for phone, email, address
  8. Social Media Links: Brand icons in horizontal layout

Styling Examples

Clean Minimal Lists

  • Simple text color
  • No backgrounds
  • Small, subtle icons
  • Adequate spacing

Highlighted Feature Lists

  • Colored icons (brand colors)
  • Light background on items
  • Hover effects
  • Generous padding

Numbered Process Steps

  • Large numbers
  • Circular backgrounds
  • Different colors per step
  • Clear hierarchy

Icon-Rich Lists

  • Meaningful icons
  • Consistent icon size
  • Color-coded by category
  • Professional appearance

Responsive Controls

Device-Specific Settings

SettingDesktopTabletMobile
Font Size✓✓✓
Icon Size✓✓✓
Block Gap✓✓✓
Padding✓✓✓
Margin✓✓✓

Mobile Considerations

  • Reduce font size for better fit
  • Increase touch targets for links
  • Stack horizontal lists on small screens
  • Simplify nested structures

Tips and Best Practices

Content Guidelines

  • Consistency: Keep list items similar in length
  • Clarity: Start items with strong action words
  • Hierarchy: Use nesting sparingly (2-3 levels max)
  • Scannability: Front-load important information

Design Best Practices

  • Icon Selection: Choose icons that enhance meaning
  • Color Usage: Use color to group or categorize
  • Spacing: Ensure adequate space between items
  • Contrast: Maintain readability with backgrounds

Performance Tips

  • Icon Optimization: Use simple icons for better performance
  • List Length: Break very long lists into sections
  • Nesting Depth: Limit nesting for better mobile experience

Accessibility Considerations

  • Semantic HTML: Proper list structure for screen readers
  • Color Contrast: Ensure WCAG compliance
  • Focus States: Visible focus for interactive items
  • Meaningful Order: Logical sequence of items

Copy and Paste Styles

The List Block supports style copying:

  1. Style your first list perfectly
  2. Select the list and copy styles
  3. Select another list and paste styles
  4. All styling transfers instantly

Troubleshooting

Icons not showing?

  • Check if icon is selected in settings
  • Verify list type is set to unordered
  • Clear browser cache
  • Check for theme conflicts

Numbering incorrect?

  • Verify start value setting
  • Check if reversed is unintentionally enabled
  • Ensure proper list type is selected

Horizontal layout not working?

  • Check layout setting in block options
  • Verify theme doesn’t override flexbox
  • Ensure adequate container width

Nested lists not indenting?

  • Use Tab key for indenting
  • Check if items are properly nested
  • Verify theme supports nested lists

Hover effects not visible?

  • Ensure hover colors differ from default
  • Check if theme overrides hover states
  • Test in preview mode

Frequently Asked Questions

Q: Can I use different icons for each list item? 
A: Currently, all items in a list share the same icon. For different icons, use multiple lists or the Icons block.

Q: How do I create a checklist? 
A: Use an unordered list with checkmark icons. For interactive checkboxes, consider a forms plugin.

Q: Can I mix ordered and unordered in one list? 
A: Not in the same level, but you can nest different list types.

Q: Is there a limit to list items? 
A: No hard limit, but very long lists (50+ items) may impact performance.

Q: Can I add images to list items? 
A: Yes! List items can contain any blocks, including images, buttons, or even other lists.

Q: How do I link entire list items? 
A: Add links to the text within items. For full-item links, consider using custom HTML.

Advanced Customization

Complex List Layouts

Combine with other blocks:

  • List + Columns: Multi-column lists
  • List + Container: Boxed list sections
  • List + Image: Icon alternatives
  • List + Buttons: Interactive lists

Available Extensions

Animation Extension

Animate your lists:

  • Stagger animations for items
  • Entrance effects
  • Smooth reveals
  • Attention-grabbing motion

Migration from Core List Block

Converting existing lists:

  1. Copy content from core list
  2. Add Spectra List block
  3. Paste content
  4. Apply advanced styling
  5. Delete original list

Benefits of migrating:

  • Custom icons
  • Advanced numbering
  • Hover effects
  • Better spacing control
  • Responsive options

Compatibility and Requirements

System Requirements

  • WordPress: 6.6.0 or higher
  • PHP: 8.1 or higher
  • Browser: Modern browsers with CSS flexbox support

Theme Compatibility

  • Works with all standard themes
  • May require CSS adjustments for some themes
  • Full compatibility with block themes

Icon Support

  • Font Awesome 5+ icons
  • SVG rendering
  • RTL language support

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Get Notified When Available

Note - You can purchase the Essential Toolkit now and easily upgrade to the Business Toolkit once it becomes available.

Get your hands on Spectra Pro

Enter your name and email address to get access to Spectra Pro.