The Hero is the first thing visitors see. In Neptune, it's built around 6 fixed patterns, each with tunable controls.

#Available patterns

"Pattern""Best
splitSingle product + side image
centeredHero copy + CTA
carouselRotating banners
videoVideo background + overlay
product-grid3-6 featured products
split-featureSingle feature + explainer

#Settings

PropTypeDefaultDescription
patternstringsplitOne of the 6 patterns
title_arstringTitle (Arabic)
title_enstringTitle (English)
subtitle_arstringSubtitle copy
ctalabelarstringShop nowButton label
cta_hrefstring/productsButton href
backgroundimageBackground image (recommended: 2880×1620)
video_srcurlBackground video (mp4 only)
overlay_opacity0-10060Black overlay opacity

#JSON config example

json
{
  "pattern": "split",
  "title_en": "Summer fashion, your way",
  "subtitle_en": "New collection, free shipping above 200 SAR",
  "cta_label_en": "Shop now",
  "cta_href": "/categories/summer-2026",
  "background": "/uploads/hero-summer.jpg",
  "overlay_opacity": 50
}

#Code: using Hero in templates

twig
{% include "@neptune/sections/hero.twig" with {
  pattern: "split",
  title: salla.store.name,
  subtitle: "Summer collection",
  cta_href: "/categories/summer-2026"
} %}

#Performance

#Common pitfalls