Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Developer-DAO/web3-ui

A React UI library for Web3
https://github.com/Developer-DAO/web3-ui

hooks react ui-components web3 web3-ui

Last synced: 3 months ago
JSON representation

A React UI library for Web3

Awesome Lists containing this project

README

        

# web3-ui

[![All Contributors](https://img.shields.io/badge/all_contributors-40-orange.svg?style=flat-square)](#contributors-)

_In Development - Refactoring in Progress πŸ—οΈ_

A library of UI components specifically crafted for web3 use cases.

| Package name | Current version |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [(Deprecated) `@web3-ui/core`](https://github.com/Developer-DAO/web3-ui/tree/main/packages/core) | [![npm version](https://badge.fury.io/js/@web3-ui%2Fcore.svg)](https://badge.fury.io/js/@web3-ui%2Fcore) |
| [`@web3-ui/components`](https://github.com/Developer-DAO/web3-ui/tree/main/packages/components) | [![npm version](https://badge.fury.io/js/@web3-ui%2Fcomponents.svg)](https://badge.fury.io/js/@web3-ui%2Fcomponents) |
| [(Deprecated) `@web3-ui/hooks`](https://github.com/Developer-DAO/web3-ui/tree/main/packages/hooks) | [![npm version](https://badge.fury.io/js/@web3-ui%2Fhooks.svg)](https://badge.fury.io/js/@web3-ui%2Fhooks) |

## Quick start

### Note: This is for the current public release. This library is being refactored and instructions will change.

1. Install the package

```bash
$ yarn add @web3-ui/core ethers
```

2. Setup the Provider

```tsx
import { Provider, NETWORKS } from '@web3-ui/core';

function MyApp({ Component, pageProps }) {
return (



);
}
```

3. Use the components and hooks

```tsx
import { ConnectWallet, useWallet } from '@web3-ui/core';

function Home() {
const { connection } = useWallet();

return (



{connection.ens || connection.userAddress}


);
}
```

## Roadmap

Please see the [Roadmap](/contributing/ROADMAP.md) for more details

## How to Contribute

Read the [CONTRIBUTING GUIDELINES](/CONTRIBUTING.md).

## The motive behind this package

- [RFC: web3-ui (a web3-specific UI library)](https://forum.developerdao.com/t/rfc-web3-ui-a-web3-specific-ui-library/565)

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Erik Ritter

πŸ’» πŸ‘€

Camila Rondinini

πŸ’» πŸ‘€

Dhaiwat Pandya

πŸ’» πŸ‘€

Nazeeh Vahora

πŸ’» πŸ“–

Jose L. Velez

πŸ“– πŸ’»

with-heart

πŸ‘€ πŸ’»

Christian

πŸ’»



Alex

πŸ’»

Sam Wellander

πŸ“–

Todor Tsankov

πŸ’»

Jovi De Croock

πŸ’»

Bonhomme

πŸ’»

hone1er

πŸ’»

Emanuel LΓ³pez

πŸ’»



Greg Syme

πŸ’»

Casuneanu Catalin

πŸ’»

Jake Warren

πŸ’»

Carlo Miguel Dy

πŸ’» πŸ“–

Akshata Mohanty

πŸ“–

Ibby E

πŸ’»

Sweta Shaw

πŸ’»



Snehit Paunikar

πŸ“–

Nathan Ng

πŸ’»

manny

πŸ’»

fangjun

πŸ“–

Julian Krispel-Samsel

πŸ“–

Ikko Ashimine

πŸ“–

Leonardo Berteotti

πŸ’»



Patrick Aljord

πŸ’»

Shamoil Arsiwala

πŸ’»

Ernesto GarcΓ­a

πŸ’»

David

πŸ’»

Eric Roupe

πŸ’»

Ricardo Seromenho

πŸ’»

James Charlesworth

πŸ’»



Diego Alzate

πŸ’»

Andrii Shupta

πŸ’»

meowy

πŸ’»

RΓ©mi Roycourt

πŸ’»

Ajinkya Shinde

πŸ’»

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

## Special thanks

This project would not have been possible without these wonderful projects:

- [ethers](https://github.com/ethers-io/ethers.js/)
- [scaffold-eth](https://github.com/scaffold-eth/scaffold-eth)
- [Chakra UI](https://github.com/chakra-ui/chakra-ui)
- [web3modal](https://github.com/web3modal/web3modal)
- [useDApp](https://github.com/EthWorks/useDapp)
- [wagmi](https://github.com/tmm/wagmi)
- [Storybook](https://github.com/storybookjs/storybook)
- [Preconstruct](https://github.com/preconstruct/preconstruct)