Carousel

A paged surface for showcasing sets of related content.

The Carousel Component

Page 1 of 2

Basic Usage

Code Snippet

<script lang="ts">		import { Carousel } from '$lib/components'; 		const items = [			{ id: 'one', title: 'Launch checklist', description: 'Coordinate every approval in one view.' },			{ id: 'two', title: 'Editorial pipeline', description: 'Track final content updates before publish.' },			{ id: 'three', title: 'Help center updates', description: 'Ship release notes alongside the product.' }		];	</script> 	<Carousel items={items} ariaLabel="Release highlights" />

Examples

Two Columns

Constrain the visible columns for denser editorial and commerce rails.

Page 1 of 2