UNPKG

lightswind

Version:

A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.

23 lines 1.04 kB
interface Slider3DProps { /** Array of image URLs to display */ images?: string[]; /** Duration of one full 360-degree rotation (in seconds) */ duration?: number; /** Width of each card. Can be px, rem, em, etc. */ cardWidth?: string; /** CSS aspect ratio of the cards */ cardAspectRatio?: string; /** CSS perspective value for the 3D container */ perspective?: string; /** Additional classes for the outermost container */ containerClassName?: string; /** Additional classes for the individual image elements */ imageClassName?: string; /** Direction of the rotation */ rotationDirection?: "left" | "right"; /** Whether to apply a gradient fade mask on the edges */ withMask?: boolean; } export default function ImageSlider3D({ images, duration, cardWidth, cardAspectRatio, perspective, containerClassName, imageClassName, rotationDirection, withMask, }: Slider3DProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=3d-image-slider.d.ts.map