
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@leafygreen-ui/card
Advanced tools
pnpm add @leafygreen-ui/card
yarn add @leafygreen-ui/card
npm install @leafygreen-ui/card
import Card from '@leafygreen-ui/card';
<Card className="card-styles" as="article">
This is my card component
</Card>;
Card is a styled wrapper for the Box component. Any properties you would pass to Box can also be passed to Card.
Prop | Type | Description | Default |
---|---|---|---|
className | string | Adds a className to the class attribute | |
contentStyle | 'none' , 'clickable' | Whether the card should display as a visually clickable element. | 'clickable' when a valid onClick handler or href link is provided |
darkMode | boolean | Determines whether or not the component will appear in dark mode. | false |
Any other properties will be spread on the Box element.
FAQs
leafyGreen UI Kit Card
We found that @leafygreen-ui/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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.