+ {/* Hero Section */}
+
+
+
Pattern Showcase
+
CarouselFeatured Pattern
+
+ A featured image carousel with two-column layout on desktop (image left, content right)
+ and single-column layout on tablet/mobile (content top, image bottom).
+
+
+
+
+ {/* Feature Overview */}
+
+
+
+ Features
+
+
+
Layout
+
+ - Two-column layout on desktop
+ - Image left, content right
+ - Feature list with dividers
+ - Primary + tertiary buttons
+
+
+
+
Background Colors
+
+ gray-200 (#E6EAF0) - default
+ gray-300 (#CAD4DF) - neutral
+ black (#141414) - dark
+ yellow-100 (#F3F1EB) - warm
+
+
+
+
Content
+
+ - Heading (h-md typography)
+ - Feature list items
+ - Primary button (black pill)
+ - Tertiary link (optional)
+
+
+
+
Responsive
+
+ - Mobile: Single column, content top
+ - Tablet: Single column, content top
+ - Desktop: Two columns, image left
+
+
+
+
+
+
+
+
+
+ {/* Default: gray-200 background */}
+
+
+
+
+ Grey Background
+
+ background="grey" - Light neutral background, the default option.
+ Light mode: gray-200 (#E6EAF0), Dark mode: gray-300 (#CAD4DF).
+
+
+
+
+
+
+
+
+
+ {/* neutral background */}
+
+
+
+
+ Neutral Background
+
+ background="neutral" - High contrast neutral background.
+ Light mode: white (#FFF), Dark mode: black (#141414).
+
+
+
+
+
+
+
+
+
+ {/* yellow background */}
+
+
+
+
+ Yellow Background
+
+ background="yellow" - Warm secondary background color.
+ Same in both modes: yellow-100 (#F3F1EB).
+
+
+
+
+
+
+
+
+
+ {/* Single button example */}
+
+
+
+
+ Single Button (Same Line on Mobile)
+
+ When only one button is provided, the button and carousel navigation
+ stay on the same line on mobile instead of stacking.
+
+
+
+
+
+
+
+
+
+ {/* API Reference */}
+
+
+
+ Component API
+
+ CarouselFeaturedProps
+
+
+
Prop
+
Type
+
Default
+
Description
+
+
+
+
heading
+
string
+
required
+
Section heading text
+
+
+
+
+
features
+
CarouselFeatureItem[]
+
required
+
Array of feature items with title and description
+
+
+
+
+
primaryButton
+
ButtonConfig
+
optional
+
Primary button configuration (uses ButtonGroup)
+
+
+
+
+
tertiaryButton
+
ButtonConfig
+
optional
+
Tertiary button configuration (uses ButtonGroup)
+
+
+
+
+
slides
+
CarouselSlide[]
+
required
+
Array of slide configurations
+
+
+
+
+
background
+
'grey' | 'neutral' | 'yellow'
+
'grey'
+
Background color variant (adapts to light/dark mode)
+
+
+
+ CarouselSlide
+
+
+
Prop
+
Type
+
Required
+
Description
+
+
+
+
id
+
string | number
+
Yes
+
Unique identifier for the slide
+
+
+
+
+
imageSrc
+
string
+
Yes
+
Image source URL
+
+
+
+
+
imageAlt
+
string
+
Yes
+
Alt text for the image
+
+
+
+ CarouselFeatureItem
+
+
+
Prop
+
Type
+
Required
+
Description
+
+
+
+
title
+
string
+
Yes
+
Feature title text
+
+
+
+
+
description
+
string
+
Yes
+
Feature description text
+
+
+
+
+
+
+ {/* Design References */}
+
+
+
+ Design References
+
+
+
+ Component Location:{' '}
+ shared/patterns/CarouselFeatured/
+
+
+ Shared Button Component:{' '}
+ shared/components/CarouselButton/
+
+
+
+
+
+