Gallery

The Gallery component provides a reusable pattern for gallery in the interface.

Gallery

API

Parameter Default Description
[] Array with following keys: largeImage, smallImage, caption and alt
[] Object with following keys: prev, next

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--color--alpha) rgba - Used for overlays. Includes opacity — set both color and alpha together.
var(--border-radius) range - Border Radius
var(--shadow-color) rgba - Shadow Color
var(--shadow-amount) range - Multiplier for elevation shadows. 0 = none, 1 = default.
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape
var(--color--alpha-contrast) color - Used for text and icons on alpha overlays.
var(--color--surface-contrast-muted) color - Derived muted contrast for text and icons on surface backgrounds.