npm.io
3.43.0 • Published 5d ago

@lidofinance/lido-ui

Licence
Version
3.43.0
Deps
8
Size
3.8 MB
Vulns
0
Weekly
0
Stars
23

@lidofinance/lido-ui

Deprecated / legacy. This is the original Lido Finance component library (buttons, inputs, modals, data tables, icons, theming, etc). It is being phased out in favor of @lidofinance/lido-landing-ui or @lidofinance/lido-app-ui, depending on the design requirements of the consuming project. Don't add new components here — pick whichever replacement matches the target project's design system for new work.

Storybook: ui.lido.fi

Install

yarn add @lidofinance/lido-ui

Usage

import { ThemeProvider, Button } from '@lidofinance/lido-ui'
import '@lidofinance/lido-ui/index.css'

function App() {
  return (
    <ThemeProvider>
      <Button>Click me</Button>
    </ThemeProvider>
  )
}

More

This package is part of the lidofinance/ui monorepo — see the repo README for the full package overview, theming, CSS variable customization, and contribution guide.