interface / @typed/ui/Carousel

InitialState

Initial Carousel values. activeId is required and paused defaults to true.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Slide and rotation state
Since
1.0.0

Import

import { InitialState } from "@typed/ui/Carousel";

Signatures

export interface InitialState {
    readonly activeId: string;
    readonly paused?: boolean;
}

Property: activeId

Id currently active for keyboard navigation; null means no active item.

Property: paused

Whether automatic carousel rotation is suspended.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source