
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@pagedotapp/page-data-card
Advanced tools
A reusable datacard component for React applications.
npm install @pagedotapp/page-data-card
import { PageDataCard } from "@pagedotapp/page-data-card"
function App() {
return (
<PageDataCard variant="primary" size="medium">
PageDataCard Content
</PageDataCard>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | - | Component children |
className | string | '' | Additional CSS class name |
variant | 'default' | 'primary' | 'secondary' | 'default' | Component variant |
size | 'small' | 'medium' | 'large' | 'medium' | Component size |
disabled | boolean | false | Disabled state |
<PageDataCard variant="default">Default</PageDataCard>
<PageDataCard variant="primary">Primary</PageDataCard>
<PageDataCard variant="secondary">Secondary</PageDataCard>
<PageDataCard size="small">Small</PageDataCard>
<PageDataCard size="medium">Medium</PageDataCard>
<PageDataCard size="large">Large</PageDataCard>
<PageDataCard disabled>Disabled</PageDataCard>
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.
To run the component in development mode:
npm run storybook
To run tests:
npm run test
To lint the component:
npm run lint
FAQs
PageDataCard - A reusable React component
The npm package @pagedotapp/page-data-card receives a total of 12 weekly downloads. As such, @pagedotapp/page-data-card popularity was classified as not popular.
We found that @pagedotapp/page-data-card demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies