Projects
View on GitHub
Developer-DAO/web3-ui
About
A React UI library for Web3
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalweb3-ui
In Development - Refactoring in Progress 🏗️
A library of UI components specifically crafted for web3 use cases.
| Package name | Current version |
|---|---|
(Deprecated) @web3-ui/core |
|
@web3-ui/components |
|
(Deprecated) @web3-ui/hooks |
Quick start
Note: This is for the current public release. This library is being refactored and instructions will change.
- Install the package
$ yarn add @web3-ui/core ethers
- Setup the Provider
import { Provider, NETWORKS } from '@web3-ui/core';
function MyApp({ Component, pageProps }) {
return (
<Provider network={NETWORKS.mainnet}>
<Component {...pageProps} />
</Provider>
);
}
- Use the components and hooks
import { ConnectWallet, useWallet } from '@web3-ui/core';
function Home() {
const { connection } = useWallet();
return (
<div>
<ConnectWallet />
<div>{connection.ens || connection.userAddress}</div>
</div>
);
}
Roadmap
Please see the Roadmap for more details
How to Contribute
Read the CONTRIBUTING GUIDELINES.
The motive behind this package
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Special thanks
This project would not have been possible without these wonderful projects:
Explore related projects
Loading…