Category 6: Content Blocks & Accordions

22 Expert-crafted Claude.AI prompts for creating Shopify content elements

FAQ Accordion Section

Create an FAQ accordion section for Shopify that:

  • Loads questions and answers from metafields or theme settings
  • Allows merchants to reorder FAQs in the theme editor
  • Includes smooth expand/collapse animations
  • Is fully accessible and mobile-friendly
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Tabbed Content Section

Build a tabbed content section that:

  • Supports up to 5 tabs, each with a title and rich text content
  • Merchants can add, remove, or reorder tabs in the theme editor
  • Is responsive and accessible
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Collapsible Announcement Bar

Generate a collapsible announcement bar that:

  • Merchants can show/hide with a toggle
  • Includes editable message and optional link
  • Is dismissible by users and remembers state via localStorage
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Feature List Block

Create a feature list section that:

  • Supports up to 8 features, each with icon, title, and description
  • Merchants can customize icons and order in the theme editor
  • Displays in grid or row layout, responsive on all devices
Provide Liquid, JSON-T schema, and CSS.

Before-and-After Image Comparison Slider

Build a before-and-after image slider that:

  • Lets users drag a slider to reveal changes between two images
  • Merchants can upload both images in the theme editor
  • Is touch-friendly and responsive
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Expandable Product Details

Create a product details section that:

  • Uses accordions for specifications, care instructions, and shipping info
  • Merchants can add/edit content blocks for each section
  • Accordions are accessible and keyboard navigable
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Icon Grid Content Block

Generate an icon grid section that:

  • Displays up to 12 icons with titles and optional links
  • Merchants can upload SVGs or choose from a preset icon library
  • Supports grid layout with adjustable columns
Provide Liquid, JSON-T schema, and CSS.

Team Member Accordion

Build a team section where:

  • Each team member is a collapsible block with photo, name, role, and bio
  • Merchants can add/remove/reorder members in the theme editor
  • Section is responsive and accessible
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Collapsible Shipping & Returns Info

Create a collapsible information block for shipping and returns that:

  • Is placed on product or cart pages
  • Merchants can edit content in the theme editor
  • Collapses/expands with animation and is keyboard accessible
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Comparison Table Block

Generate a comparison table section that:

  • Lets merchants add up to 5 columns and 10 rows of features/specs
  • Supports highlighting key differences
  • Is responsive and scrollable on mobile
Provide Liquid, JSON-T schema, and CSS.

Collapsible Policy Section

Build a collapsible section for store policies (e.g., Privacy, Terms, Refunds) that:

  • Loads content from pages or theme settings
  • Supports multiple policies as collapsible blocks
  • Is accessible and mobile-friendly
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Accordion with Icons

Create an accordion section where:

  • Each question/heading can display an icon next to the text
  • Merchants can choose icons from a preset or upload their own
  • Accordions are styled for accessibility and clarity
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Collapsible Product Ingredients Block

Generate a collapsible block for product ingredients that:

  • Expands to show full ingredient list on click/tap
  • Merchants can edit ingredients in the theme editor
  • Is designed for beauty, food, or supplement products
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Tabbed Product Information

Build a tabbed section for product pages that:

  • Supports tabs for Description, Ingredients, Reviews, and Shipping
  • Merchants can customize tab titles and content
  • Tabs are accessible and responsive
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Accordion for Blog Categories

Create an accordion menu for blog categories that:

  • Expands to show posts under each category
  • Merchants can reorder categories in the theme editor
  • Is mobile-friendly and accessible
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Expandable Store Hours Block

Generate a content block that:

  • Shows store hours collapsed by default, expands on click
  • Merchants can set hours for each day in the theme editor
  • Is accessible and responsive
Provide Liquid, JSON-T schema, JavaScript, and CSS.

FAQ Accordion with Search

Build an FAQ accordion that:

  • Includes a search bar to filter questions in real time
  • Merchants can add/edit FAQs in the theme editor
  • Is accessible and mobile-optimized
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Collapsible Gift Guide Block

Create a collapsible block for gift guides that:

  • Expands to show curated product links or collections
  • Merchants can update guide content seasonally
  • Is styled for holidays or special occasions
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Accordion with Rich Text and Images

Generate an accordion section that:

  • Allows rich text and images in each expanded panel
  • Merchants can add/edit content in the theme editor
  • Is fully responsive and accessible
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Content Block with Conditional Logic

Create a content block that:

  • Shows/hides sections based on customer tags, cart value, or page type
  • Merchants can set display rules in the theme editor
Provide Liquid, JSON-T schema, and CSS.

Multi-Language Accordion Support

Build an accordion section that:

  • Displays content in the customer's selected language
  • Pulls translations from metafields or Shopify Markets
  • Includes fallback content if translation is missing
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Accessibility-First Accordion

Generate an accordion section that:

  • Uses ARIA attributes, keyboard navigation, and high-contrast styles
  • Is fully screen reader compatible
Provide Liquid, JSON-T schema, JavaScript, and CSS.

How to Use:

  • Copy any prompt into Claude.AI 3.7
  • Add your branding or special requirements
  • Paste the generated code into your Shopify theme editor
  • Customize using the provided schema fields in Shopify's Theme Editor
Prompt copied to clipboard!