MCPcopy
hub / github.com/web3ui/web3uikit

github.com/web3ui/web3uikit @1.0.4 sqlite

repository ↗ · DeepWiki ↗ · release 1.0.4 ↗
586 symbols 1,473 edges 566 files 4 documented · 1%
README

web3uiKit logo

Web3UIKit!

Beautiful and lightweight UI components for web3 developers. This UI library will speed up your dapp development no matter which chain you build on.

CI

Live StoryBook DEMO: https://web3ui.github.io/web3uikit/

Moralis-NFT-Marketplace

⭐️ Star us

If this ui-kit helps you build your dApps faster - please star this project, every star makes us very happy!

🤝 Need help?

If you need help with setting up the boilerplate or have other questions - don't hesitate to write in our community forum and we will check asap. Forum link. The best thing about this boilerplate is the super active community ready to help at any time! We help each other.

🚀 Quick Start

💿 Installation

npm install @web3uikit/core @web3uikit/web3 @web3uikit/icons

or

yarn add  @web3uikit/core @web3uikit/web3 @web3uikit/icons

ℹ️ Each package can be installed separately.

🧰 Usage

import { CryptoCards, Button } from '@web3uikit/core';

const App = () => (
    <>
        <CryptoCards
            chain="ethereum"
            bgColor="blue"
            chainType="Network"
            onClick={console.log}
        />
        <Button theme="primary" type="button" text="Launch Dapp" />
    </>
);

▲ Usage with Next.js

If you are using web3uikit with Next.js, be sure to follow the official guide, since we are using styled-components under the hood.


🧭 Table of Contents

📦 Packages

Core module

The core module contains all the basic ui components like button, input, dropdown etc

package Version Changelog Description
@web3uikit/core TODO TODO Contains all the basic UI elements

Icons module

Create an issue with svg code to add more icons or feel free to raise a PR.

package Version Changelog Description
@web3uikit/icons TODO TODO Contains various icons

Web3 module

These are components which have moralis and react-moralis dependency.

package Version Changelog Description
@web3uikit/web3 TODO TODO Contains all the web3 components

🚨 Breaking Changes

  • Icon component does not exist anymore.
  • All component prop type using TIconType are now converted to JSX.Element. List of components that used TIconType prop are:

    • Button
    • Credentials
    • CryptoCards
    • Dropdown
    • Input
    • Notification
    • PopoverElement
    • Select

🧙‍♂️ Community

Extension points exported contracts — how you extend this code

NativeBalanceProps (Interface)
(no doc)
packages/web3/src/lib/NativeBalance/types.ts
DatePickerProps (Interface)
(no doc)
packages/core/src/lib/DatePicker/types.ts
SVGRProps (Interface)
(no doc)
packages/icons/src/lib/type.ts
INFTBalance (Interface)
(no doc)
packages/web3/src/lib/NFTBalance/types.ts
RadiosProps (Interface)
(no doc)
packages/core/src/lib/Radios/types.tsx
ISendTransactionProps (Interface)
(no doc)
packages/web3/src/lib/SendTransaction/types.ts
ISelectProps (Interface)
(no doc)
packages/core/src/lib/Select/types.ts
IConnectButtonProps (Interface)
(no doc)
packages/web3/src/lib/ConnectButton/types.ts

Core symbols most depended-on inside this repo

rgbToHex
called by 45
packages/styles/src/lib/rgbToHex.ts
getModuleAnimation
called by 11
packages/core/src/lib/Card/Animations/animations.tsx
getShade
called by 11
packages/styles/src/lib/colors.ts
getConfig
called by 8
packages/core/src/lib/Row/Row.styles.ts
handleNewNotification
called by 8
packages/core/src/lib/Notification/Notification.stories.tsx
sendToClient
called by 5
public/mockServiceWorker.js
getThemeColor
called by 5
packages/core/src/lib/Accordion/Accordion.styles.ts
useNotification
called by 5
packages/core/src/lib/Notification/NotificationProvider.tsx

Shape

Function 490
Interface 91
Method 4
Enum 1

Languages

TypeScript100%

Modules by API surface

packages/core/src/lib/Table/Table.tsx12 symbols
packages/core/src/lib/Form/Form.tsx11 symbols
public/mockServiceWorker.js9 symbols
packages/core/src/lib/Tabs/Tabs.stories.tsx9 symbols
packages/core/src/lib/Tabs/TabsList.tsx8 symbols
packages/core/src/lib/Stepper/Stepper.tsx8 symbols
packages/web3/src/web3utils/networks.ts6 symbols
packages/core/src/lib/Select/types.ts6 symbols
packages/core/src/lib/Notification/Notification.tsx6 symbols
packages/core/src/lib/Input/Input.tsx6 symbols
packages/core/src/lib/Credentials/components/TruncateString.tsx6 symbols
packages/core/src/lib/Select/Select.stories.tsx5 symbols

Dependencies from manifests, versioned

@babel/core7.18.2 · 1×
@changesets/changelog-github0.4.6 · 1×
@changesets/cli2.24.0 · 1×
@jscutlery/semver2.22.0 · 1×
@mdx-js/preact2.1.2 · 1×
@mdx-js/react2.1.1 · 1×
@nrwl/eslint-plugin-nx14.1.5 · 1×
@nrwl/js14.1.9 · 1×
@nrwl/linter14.1.5 · 1×
@nrwl/workspace14.1.4 · 1×
@size-limit/preset-small-lib7.0.8 · 1×
@storybook/addon-actions6.5.10 · 1×

For agents

$ claude mcp add web3uikit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact