
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@pagedotapp/page-card
Advanced tools
A flexible card container component
npm install @pagedotapp/page-card
import { PageCard } from "@pagedotapp/page-card"
function App() {
return (
<PageCard>
<h3>Card Title</h3>
<p>Card content goes here</p>
</PageCard>
)
}
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | - | Card content |
className | string | "" | Additional CSS class name |
style | React.CSSProperties | - | Inline styles |
See the TypeScript definitions for detailed prop types.
This component uses CSS modules for styling. The styles are injected automatically when you use the component.
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>
MIT © PageStudio
FAQs
PageCard - A reusable React component
We found that @pagedotapp/page-card demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.