🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@einride/ui

Package Overview
Dependencies
Maintainers
3
Versions
717
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@einride/ui

Core components that adhere to Einride's design system

8.0.2
latest
Source
npm
Version published
Maintainers
3
Created
Source

@einride/ui

license npm version total npm downloads

Reusable React components that adhere to Einride's design system.

Installation

Install @einride/ui together with its peer dependencies:

yarn add @einride/ui @emotion/react @emotion/styled framer-motion

Setup

<EinrideProvider> needs to wrap all @einride/ui components. The provider sets up the theme and color schemes. It's common to put it in the <App> component in the top of the component tree.

import { EinrideProvider } from "@einride/ui"

export const App = (): React.JSX.Element => {
  return <EinrideProvider>{/* All @einride/ui components go here! */}</EinrideProvider>
}

Contribute

See Contributing Guide.

Documentation

All currently available components are documented in our Storybook.

License

MIT

Keywords

react

FAQs

Package last updated on 03 Apr 2024

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