Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/eds-core-react

Package Overview
Dependencies
Maintainers
2
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/eds-core-react

The React implementation of the Equinor Design System

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13K
increased by2.06%
Maintainers
2
Weekly downloads
 
Created
Source

@equinor/eds-core-react

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.

Installation

npm install @equinor/eds-core-react styled-components

Components

Available ✅

  • Button
    • Contained
    • Outlined
    • Ghost
    • Ghost Icon
  • Divider
  • Icon
  • List
  • Table
  • Tabs
  • TextField
  • TopBar
  • Typography

In progress 👷‍♀️

  • Accordion
  • Chips
  • Dialog
  • Side Sheet

TODO 🛠️

  • App launcher
  • Banner
  • Breadcrumbs
  • Button
    • Contained w/icon left/right
    • Outlined w/icon left/right
    • Ghost w/icon left/right
  • Cards
  • Menu
  • Navigation drawer
  • Pagination
  • Popover
  • Progress indicators
  • Scrim
  • Selection Controls
  • Search
  • Slider
  • Snackbar
  • Stepper
  • Table of contents
  • Tooltip

Usage

import 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'))

Keywords

FAQs

Package last updated on 12 Mar 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc