Socket
Book a DemoInstallSign in
Socket

@pagedotapp/page-card

Package Overview
Dependencies
Maintainers
2
Versions
8
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

alpha
latest
Source
npmnpm
Version
0.0.0-alpha.10
Version published
Weekly downloads
33
-86.08%
Maintainers
2
Weekly downloads
 
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 10 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.