Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@leafygreen-ui/card
Advanced tools
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>;
Output HTML
<div class="leafygreen-ui-1lu17q2 card-styles">This is my card component</div>
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
The npm package @leafygreen-ui/card receives a total of 64,848 weekly downloads. As such, @leafygreen-ui/card popularity was classified as popular.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.