Features

Overview

The Features Section Block allows you to create eye-catching feature grids on your homepage. Each block can contain up to 8 features with titles, descriptions, and icons.

Creating a Features Block

Via Sanity Studio

  1. Navigate to /studio in your browser
  2. Go to Homepage Blocks in the sidebar
  3. Click CreateFeatures Section Block
  4. Fill in the block details:

Block Settings

  • Block Name - Internal name for organization (e.g., "Why Choose Us")
  • Section Title - Optional heading displayed above features
  • Section Description - Optional subtitle text

Adding Features

Click Add Feature to create feature cards (1-8 features recommended):

  • Feature Title - Main heading (e.g., "24/7 Support")
  • Feature Description - Explanation text (2-3 sentences)
  • Lucide Icon Name - Icon to display (see icon list below)

Styling Options

  • Background Color - Custom background for the entire section
  • Text Color - Override default text color
  • Display Order - Position on homepage (lower numbers first)
  • Visible - Show/hide the block
  • Full Width - Recommended: true for features sections
  1. Click Publish when done

Via Admin UI

  1. Navigate to /admin/ui-config/homepage
  2. Find your features block in the list
  3. Click Edit button
  4. Modify section header and features
  5. Click Save Changes

Icon Selection

Features use Lucide Icons. Enter the icon name exactly as shown on their website.

Icon NameBest For
TerminalDevelopment, Technical features
HeartCustomer care, Community
CloudCloud services, Storage
DollarSignPricing, Value propositions
ZapSpeed, Performance
ShieldSecurity, Protection
UsersTeam, Community
SettingsCustomization, Configuration
HeadphonesSupport, Help
TrendingUpGrowth, Analytics

Browse all 1,000+ icons at lucide.dev/icons

Best Practices

Layout Recommendations

  • 4 Features - Classic grid (2x2 on desktop)
  • 6 Features - Extended grid (3x2)
  • 8 Features - Full grid (4x2)
  • Odd Numbers - Works but may look unbalanced on desktop

Content Guidelines

Titles:

  • Keep concise (2-5 words)
  • Use action-oriented language
  • Be specific and benefit-focused

Descriptions:

  • Aim for 10-20 words
  • Explain the benefit clearly
  • Avoid jargon

Icons:

  • Choose icons that visually represent the feature
  • Use consistent style (all outlined or all filled)
  • Test on both light and dark themes

Example Configuration

Block Name: "Why Choose Custom Cap BD"
Section Title: "Features That Set Us Apart"
Section Description: "Discover the advantages of working with us"

Features:
1. Title: "Custom Design Tools"
   Description: "Advanced 3D designer with real-time preview and professional templates"
   Icon: "Palette"

2. Title: "Fast Turnaround"
   Description: "Industry-leading production times without compromising quality"
   Icon: "Zap"

3. Title: "Premium Materials"
   Description: "Only the highest quality fabrics and embroidery threads"
   Icon: "Award"

4. Title: "Expert Support"
   Description: "Dedicated team available 24/7 to assist with your projects"
   Icon: "Headphones"

Adding to Homepage

After creating the block:

  1. Go to Sanity Studio → Homepage Configuration
  2. Open the active configuration
  3. Under Homepage Blocks, click Add
  4. Search for your features block
  5. Drag to reorder if needed
  6. Publish the configuration

Changes appear on the homepage immediately!

Troubleshooting

Icon Not Showing

  • Verify the icon name matches exactly (case-sensitive)
  • Check lucide.dev for correct spelling
  • Try a common icon like Heart or Star to test

Features Not Displaying

  • Check the Visible toggle is enabled
  • Ensure the block is added to an active Homepage Configuration
  • Verify at least one feature is added

Styling Issues

  • Background/text colors override the theme - use sparingly
  • Features section works best with Full Width enabled
  • Test on mobile devices for responsive layout