Giter Site home page Giter Site logo

hanmichael / web3-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developer-dao/web3-ui

1.0 1.0 0.0 2.01 MB

A React UI library for Web3

Home Page: https://web3-ui.vercel.app/

License: MIT License

Shell 0.03% JavaScript 0.83% TypeScript 99.15%

web3-ui's Introduction

web3-ui

All Contributors

In Development πŸ—οΈ

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

Package name Current version
@web3-ui/core npm version
@web3-ui/components npm version
(Deprecated) @web3-ui/hooks npm version

Quick start

  1. Install the package
$ yarn add @web3-ui/core ethers
  1. Setup the Provider
import { Provider, NETWORKS } from '@web3-ui/core';

function MyApp({ Component, pageProps }) {
  return (
    <Provider network={NETWORKS.mainnet}>
      <Component {...pageProps} />
    </Provider>
  );
}
  1. 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>
  );
}

Do note that you can also install & use the components and hooks packages separately. They are completely independent. The core package is an opinionated combination of the components and hooks packages.

How to Contribute

Read the CONTRIBUTING GUIDELINES.

The motive behind this package

Contributors ✨

Thanks goes to these wonderful people (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

πŸ’»

James Charlesworth

πŸ’»

Ricardo Seromenho

πŸ’»

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:

web3-ui's People

Contributors

dhaiwat10 avatar allcontributors[bot] avatar github-actions[bot] avatar crondinini avatar with-heart avatar joselvelez avatar dependabot[bot] avatar nazeeh21 avatar semantic-release-bot avatar jovidecroock avatar swellander avatar juliankrispel avatar hone1er avatar christiananese avatar gjsyme avatar eltociear avatar ibby-devv avatar kata-kas avatar maximebonhomme avatar alexni245 avatar txwkx avatar robriks avatar codingwithmanny avatar fjun99 avatar swetshaw avatar redarcher9 avatar shamoilarsi avatar seromenho avatar patcito avatar ngnathan avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.