Artist Slider
Full-screen image slider designed for artist portfolio websites. Features artwork info overlays with glassmorphism styling, configurable auto-cycling with fade transitions, navigation dots, and a scroll-down indicator.
Full-screen image slider designed for artist portfolio websites. Features artwork info overlays with glassmorphism styling, configurable auto-cycling with fade transitions, navigation dots, and a scroll-down indicator.
sections:
- sectionType: artist-slider
containerFields:
inContainer: false
background:
isDark: true
artworks:
source: example-artworks
imageFolder: artworks
cycleTime: 5000
showDots: true
scrollTarget: '#first-section'
| Property | Type | Default | Description |
|---|---|---|---|
artworks.source | string | required | JSON filename in /lib/data/artworks/ (without .json) |
artworks.imageFolder | string | required | Subfolder in /lib/assets/images/ containing artwork images |
cycleTime | number | 5000 | Auto-cycle interval in milliseconds |
showDots | boolean | true | Show/hide navigation dots |
scrollTarget | string | - | Anchor for scroll-down icon (e.g., '#first-section') |
Create a JSON file in /lib/data/artworks/ with an array of artwork objects:
[
{
"image": "artwork-1.jpg",
"alt": "Description for screen readers",
"title": "Artwork Title",
"description": "Brief description of the artwork.",
"size": "48 x 36 inches",
"year": "2024",
"materials": "Oil on canvas",
"link": "/works/artwork-1"
}
]
| Field | Type | Required | Description |
|---|---|---|---|
image | string | yes | Filename of the image in the imageFolder |
alt | string | yes | Alt text for accessibility |
title | string | yes | Artwork title (displayed in info panel) |
description | string | yes | Artwork description |
size | string | yes | Dimensions of the artwork |
year | string | yes | Year created |
materials | string | yes | Medium/materials used |
link | string | no | Optional URL to artwork detail page |
link is provided in the JSON data