Socket
Book a DemoInstallSign in
Socket

@pagedotapp/page-carousel

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedotapp/page-carousel

PageCarousel - A reusable React component

alpha
latest
Source
npmnpm
Version
0.0.0-alpha.12
Version published
Weekly downloads
256
-39.76%
Maintainers
2
Weekly downloads
 
Created
Source

PageCarousel

A reusable carousel component for React applications.

Installation

npm install @pagedotapp/page-carousel

Usage

import { PageCarousel } from "@pagedotapp/page-carousel"

function App() {
	return (
		<PageCarousel variant="primary" size="medium">
			PageCarousel Content
		</PageCarousel>
	)
}

Props

PropTypeDefaultDescription
childrenReact.ReactNode-Component children
classNamestring''Additional CSS class name
variant'default' | 'primary' | 'secondary''default'Component variant
size'small' | 'medium' | 'large''medium'Component size
disabledbooleanfalseDisabled state

Examples

Variants

<PageCarousel variant="default">Default</PageCarousel>
<PageCarousel variant="primary">Primary</PageCarousel>
<PageCarousel variant="secondary">Secondary</PageCarousel>

Sizes

<PageCarousel size="small">Small</PageCarousel>
<PageCarousel size="medium">Medium</PageCarousel>
<PageCarousel size="large">Large</PageCarousel>

States

<PageCarousel disabled>Disabled</PageCarousel>

Styling

The component uses CSS modules for styling. You can override styles by passing a custom className or by targeting the component's CSS classes in your global styles.

Development

To run the component in development mode:

npm run storybook

To run tests:

npm run test

To lint the component:

npm run lint

Keywords

react

FAQs

Package last updated on 11 Sep 2025

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