Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@pagedotapp/page-card

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedotapp/page-card

PageCard - A reusable React component

latest
Source
npmnpm
Version
0.0.0-alpha.13
Version published
Maintainers
2
Created
Source

@pagedotapp/page-card

A flexible card container component

Installation

npm install @pagedotapp/page-card

Usage

import { PageCard } from "@pagedotapp/page-card"

function App() {
	return (
		<PageCard>
			<h3>Card Title</h3>
			<p>Card content goes here</p>
		</PageCard>
	)
}

Props

PropTypeDefaultDescription
childrenReact.ReactNode-Card content
classNamestring""Additional CSS class name
styleReact.CSSProperties-Inline styles

See the TypeScript definitions for detailed prop types.

Styling

This component uses CSS modules for styling. The styles are injected automatically when you use the component.

Custom Styling

You can customize the appearance using the className prop to add custom CSS classes or the style prop for inline styles:

// Using className
<PageCard className="custom-card">
  Content
</PageCard>

// Using inline styles
<PageCard style={{ backgroundColor: '#f0f8ff', padding: '20px' }}>
  Content
</PageCard>

// Combining both
<PageCard
  className="custom-card"
  style={{ transform: 'scale(1.05)' }}
>
  Content
</PageCard>

Dependencies

Peer Dependencies

  • React >=16.8.0
  • React DOM >=16.8.0

License

MIT © PageStudio

Keywords

react

FAQs

Package last updated on 26 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