Catalog npm
Back to packageRELEASE DETAILS

0.107.8

npm

@0xflair/react-ui

Tailwind and React components and hooks that helps building a web3 dApp dashboard.

Published30 Aug 2022
Direct dependencies15
Transitive dependenciesNot calculated

README

Current package documentation

Flair SDK: react-dashboard

Tailwind and React components and hooks that helps building a web3 dApp dashboard.

Getting Started

Installation

  1. Install the package:

    npm install @0xflair/react-ui
    
  2. Install peer dependencies if not already done:

    npm install tailwindcss @headlessui/react @heroicons/react @tailwindcss/aspect-ratio
    
  3. Configure tailwind.config.js (Tailwind v3) to scan SDK for classes:

    module.exports = {
      purge: [
        "./public/**/*.html",
        "./src/**/*.{js,jsx,ts,tsx,vue}",
    
        // This line tells Tailwind to look into SDK files
        "./node_modules/@0xflair/**/*.{js,jsx,ts,tsx,vue}",
      ],
      content: ["./src/**/*.{js,jsx,ts,tsx}"],
      plugins: [
        // These plugsins are used in this package
        require("@tailwindcss/forms"),
        require("@tailwindcss/aspect-ratio"),
      ],
    };
    

Example

import { FormSection } from "@0xflair/react-ui";

function CreatePage() {
  return (
    <>
      <FormSection
        title={"Wallet Info"}
        description={"Provide information about your wallet"}
      >
        ...
      </FormSection>
    </>
  );

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 24

Native requirements
15 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xflair/react-common
Environment
{
  "local_name": "@0xflair/react-common",
  "alias": false,
  "peer_metadata": null
}
^0.107.8runtime
@headlessui/react
Environment
{
  "local_name": "@headlessui/react",
  "alias": false,
  "peer_metadata": null
}
^1.6.0runtime
@heroicons/react
Environment
{
  "local_name": "@heroicons/react",
  "alias": false,
  "peer_metadata": null
}
^1.0.6runtime
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
^5.6.5runtime
prism-react-renderer
Environment
{
  "local_name": "prism-react-renderer",
  "alias": false,
  "peer_metadata": null
}
^1.3.1runtime
react-dropzone
Environment
{
  "local_name": "react-dropzone",
  "alias": false,
  "peer_metadata": null
}
^12.0.4runtime
react-modal
Environment
{
  "local_name": "react-modal",
  "alias": false,
  "peer_metadata": null
}
^3.15.1runtime
usehooks-ts
Environment
{
  "local_name": "usehooks-ts",
  "alias": false,
  "peer_metadata": null
}
^2.5.2runtime
wagmi
Environment
{
  "local_name": "wagmi",
  "alias": false,
  "peer_metadata": null
}
^0.3.5runtime
@types/react
Environment
{
  "local_name": "@types/react",
  "alias": false,
  "peer_metadata": null
}
^18.0.10development
@types/react-dom
Environment
{
  "local_name": "@types/react-dom",
  "alias": false,
  "peer_metadata": null
}
^18.0.5development
@0xflair/react-common
Environment
{
  "local_name": "@0xflair/react-common",
  "alias": false,
  "peer_metadata": null
}
0.*peer
@headlessui/react
Environment
{
  "local_name": "@headlessui/react",
  "alias": false,
  "peer_metadata": null
}
^1.6.0peer
@heroicons/react
Environment
{
  "local_name": "@heroicons/react",
  "alias": false,
  "peer_metadata": null
}
^1.0.6peer
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
^5.6.5peer
prism-react-renderer
Environment
{
  "local_name": "prism-react-renderer",
  "alias": false,
  "peer_metadata": null
}
^1.3.1peer
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^16 || ^17 || ^18peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^16 || ^17 || ^18peer
react-dropzone
Environment
{
  "local_name": "react-dropzone",
  "alias": false,
  "peer_metadata": null
}
^12.0.4peer
react-modal
Environment
{
  "local_name": "react-modal",
  "alias": false,
  "peer_metadata": null
}
^3.15.1peer
react-query
Environment
{
  "local_name": "react-query",
  "alias": false,
  "peer_metadata": null
}
*peer
styled-components
Environment
{
  "local_name": "styled-components",
  "alias": false,
  "peer_metadata": null
}
*peer
usehooks-ts
Environment
{
  "local_name": "usehooks-ts",
  "alias": false,
  "peer_metadata": null
}
^2.5.2peer
wagmi
Environment
{
  "local_name": "wagmi",
  "alias": false,
  "peer_metadata": null
}
^0.3.5peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-mTlRUlztCrXXHx8CV7ybkSO4YvPJPkANf3m12aypYRaDIIWeeYViSCdsR/Wp0oSHt9+JsEgMgi25e7b2uf9QYw==",
  "shasum": "b87eb1ad369f5aa38f1a5e039bcba1dff331fff8",
  "tarball": "https://registry.npmjs.org/@0xflair/react-ui/-/react-ui-0.107.8.tgz",
  "fileCount": 8,
  "unpackedSize": 194978,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIBdWm/gFM6RmhR4qkCBscVlkF1gHTreDVsXLs9AJL0mKAiAjqk09jGxtjbJ8MdmLFVjPvFfudoQf8qzM+hYvsQcgwA=="
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDlLSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9ZQ/+JMA2bJNjwhOeAMpTQ4KVkupU9NVigXaz9szM/qdU56Alele3\r\nADlW74IuJVF0t9yzDqOCCDOI8bHhlaub8FEReBuW8D2LgWB4Joo90WH+OGRm\r\nqhgMgHblfAbHPppEC8o35ho1UpPGyC0g6rmgmiMfq0WBuyaL/TJoKOzJp3dR\r\n6h9UJANMcrLphoMhCqy1hNBVf98w5QTYDQvPxK1ayT0enrScM3zqBeAh7W4J\r\ny6t74JpU+zV18dNPb0FjPcwXUCtVnyhTp/9PaRwujeamfljxS6Z8ezYj7Uhw\r\nLBq0awNjjfiu36YaD3iWE6OGD02ZT8+Y0k2fPrC2VPxifud7jLpIWPnKz/G6\r\nqkWsYBZ9L7ZcV85L7zS5j47dPfi94wfZDrO5qZy0aJRAq+6YiDmUa33uuI3l\r\n+3l/g8U7aFhtnQ/VYP920T3PGrN2vwb0u3wxRpS33mnKl3Ntl0bV3Cu0Fh8O\r\nykfkJZjjw5Uc80g3XBqBAabv3ZEjtNFJhDg4csPuEPJzo6jFlb2q3vbQ5s7R\r\neiesDox4w3Zvm4hBp4J5ywzGuqBbiBaj0UV0PzGq1DlgFojxQsO4GOHWsU3N\r\n7XjzWVcj3mJ/+qn6SpegTJavnx2oXgXqnWpLK2THV9IvycTMiDlueI1dURn6\r\nWnx1k+BqWuFIL+Sz107V8lIQInVCLSR3jFQ=\r\n=212/\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xflair/typescript-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:33 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a2a4ccb75b8bb6740d302f244fdff40729a571a266bf1d9c70de8a8e5fdaf73f

Other collected versions

0.123.227 Nov0.123.112 Nov0.123.08 Nov0.122.228 Oct0.122.128 Oct0.122.028 OctView all collected versions →