Skip to content
/ ui Public

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

License

Notifications You must be signed in to change notification settings

einride/ui

Folders and files

NameName
Last commit message
Last commit date
Apr 16, 2024
Apr 2, 2024
Mar 22, 2024
Mar 3, 2023
Mar 15, 2023
Apr 3, 2024
Jul 15, 2022
Oct 21, 2022
Mar 27, 2023
Mar 14, 2023
Oct 28, 2024
Mar 3, 2023
Jul 10, 2023
Mar 28, 2024
Mar 3, 2023
Mar 5, 2024
Jun 1, 2022
May 24, 2023
Mar 5, 2024
Mar 28, 2024
Oct 1, 2024
May 24, 2023
Jan 21, 2025
Oct 28, 2024
Mar 8, 2024
Mar 5, 2024
Mar 27, 2023
Jan 21, 2025

Repository files navigation

@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