Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@equinor/eds-core-react
Advanced tools
Available components to help style your React application as an Equinor application. We publish new components regularly so make sure to check back often!
Make sure to check out our Storybook for more examples! Read the changelog for details on specific releases.
npm install @equinor/eds-core-react styled-components
If you use Typescript, make sure you have typescript >= 3.8 as a devDependency:
npm install typescript --save-dev
The Equinor typeface is not included and needs to be added to the head of your project. Its available from the EDS CDN:
<link rel="stylesheet" href="https://cdn.eds.equinor.com/font/equinor-font.css" />
import * as React from 'react'
import { render } from 'react-dom'
import { Button, Typography } from '@equinor/eds-core-react'
const App = () => (
<>
<Typography variant="h1" bold>Buttons</Typography>
<Typography variant="h2">Contained (default)</Typography>
<Button>Primary</Button>
<Button color="secondary">Secondary</Button>
<Button color="danger">Danger</Button>
<Button disabled>Disabled</Button>
<Typography variant="h2">Outlined</Typography>
<Button variant="outlined">Primary</Button>
<Button variant="outlined" color="secondary">Secondary</Button>
<Button variant="outlined" color="danger">Danger</Button>
<Button variant="outlined" disabled>Disabled</Button>
<Typography variant="h2">Ghost</Typography>
<Button variant="ghost">Primary</Button>
<Button variant="ghost" color="secondary">Secondary</Button>
<Button variant="ghost" color="danger">Danger</Button>
<Button variant="ghost" disabled>Disabled</Button>
</>
)
render(<App />, document.getElementById('root'))
FAQs
The React implementation of the Equinor Design System
The npm package @equinor/eds-core-react receives a total of 6,617 weekly downloads. As such, @equinor/eds-core-react popularity was classified as popular.
We found that @equinor/eds-core-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.