You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

carousel-library

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carousel-library

This is a react component library with a single component: the Carousel. The component library have a storybook that showcases the Carousel. This carousel component is not using any "carousel" libraries.

1.0.3
latest
npmnpm
Version published
Maintainers
0
Created
Source

Overview

This is a react component library with a single component: the Carousel. The component library have a storybook that showcases the Carousel. This carousel component is not using any "carousel" libraries.

  • Children and Width: The Carousel component accept multiple children of the same width (cards).

  • With isInfinite (boolean) Prop: Determines if the carousel is infinite.

    If isInfinite is true, the carousel loops infinitely. If isInfinite is false, the carousel scrolls only through the available cards.

  • Interaction for mobile and desktop.

    Mobile: The carousel is draggable. The scroll speed should reflect the drag speed where slow drag scrolls fewer cards while fast drag scrolls more cards. Desktop: The carousel use buttons for navigation.

Keywords

react

FAQs

Package last updated on 21 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts