Catalog npm
Back to packageRELEASE DETAILS

0.39.3

npm

@0xflair/react-ui

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

Published16 May 2022
Direct dependencies9
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 16

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xflair/react-common
Environment
{
  "local_name": "@0xflair/react-common",
  "alias": false,
  "peer_metadata": null
}
^0.39.3runtime
@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
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
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
@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
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
}
^17.0.2peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^17.0.2peer
react-dropzone
Environment
{
  "local_name": "react-dropzone",
  "alias": false,
  "peer_metadata": null
}
^12.0.4peer
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-Rg1nMQ8LRW3LwOexniAFG3sP9U2HhBaaBmbg6zJxA2uYG5rcI3qtdyQ3T3REeJcTF59s8RhZl4cQGAoGqp4jEw==",
  "shasum": "120c979b0573dee6357902042d14d7f81739d13f",
  "tarball": "https://registry.npmjs.org/@0xflair/react-ui/-/react-ui-0.39.3.tgz",
  "fileCount": 8,
  "unpackedSize": 632191,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIElTBOptWC38V1iKGMRZ3mG/I0sTvjp/iO6ka01H+LzBAiBrZvGEeZ6wMtkhv//4OlxFjFBmOMdY2weYWTcT9GfFTQ=="
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigiDVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYnQ//ZFLRMK9hMt0uvL5AeiG7MEEMaq3jS9YcqcLlaWD7SyFfGIdx\r\neI2ylbDIoJilZLHH5cTkCkUvmCH7kaPww7ebEmEgNxCDEpQNiyDXKSjSW7pg\r\nU9hFSptk2Iwjk6Tpx2gOA0f8kgtgSdCJD1lMAcFoY2uAEcj5fmRMSHz5g4MQ\r\nzCk0jmET7e+nvkUS0+YnBtPyS6MkXRrcyyvndmKFMiH7LWtptF/TY1eBkvNQ\r\nUIaHPvDk3i6Fj1sehK2LzHv69Ex4mao6Z0LuzURLVtDpAaLEwJogPWkpt3NP\r\n8ZytiZjW7VBO3j6D9eaHQg6urMUudNiM5PI+uftaeKMFN7H5hc5W7v1iG148\r\n8ATWn/xAeCaygBoh7kAiSFlVPEnI+qxp8o+oEQu21gZUfmUdhB1ZYKaGwRcQ\r\nbBsc7dBQ3cp4IuD8ujFoXQ4GcMeOnYFIBE/elMgpO+Cw+QsMxYdjd4nyPXb/\r\n3jJ8Rm19xwMiVj1VQYFbPzrf2O9cIu9O+mJeiiV+8FdJQNFGfIfTVsoDrCpc\r\nm/c5yNSa8ws7sW+QyD8zu7Bhtj6S5EK+VJ9KOnH8MirdGJXQ3gZygFT9x9E/\r\nd4qP/xEp5Y1LMFWCfEfMlAR+8G/fvqnRhK2dRYY887TUmOvj1QPKtSUQm70i\r\n0vgewSblkh5XPWFKHD2tqnqGkCvwkzOnvR4=\r\n=YAL4\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:32 UTC

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

Record identity

package_version:869dee119ebfd49fcfb49ce213e8ab1f8bfafcedea212d7662da191b7bd32b9a

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 →