UI components originally created for the MyDeFi app.
mydefiUI is a React Library used to build the user interface of the MyDeFi app. We decided to open-source it to let anyone benefit from it and potentially build applications that could be integrated in MyDeFi. Learn how to use it with ui.mydefi.org.
npm install @mydefi/ui
import React, { Component } from 'react'
import { Main, Card } from '@mydefi/ui'
class Example extends Component {
render () {
return (
<Main>
<Card title="This is a test card" description="And more details about it."></Card>
</Main>
)
}
}
We created a small website to help you learn how to use the mydefiUI. It's located at ui.mydefi.org.
MIT © Baptiste Greve