Catalog npm
Back to packageRELEASE DETAILS

0.49.8

npm

@0xflair/react-ui

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

Published1 Jun 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.49.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
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-CFhHIRT1gmPiPuiWDWYw9/COActTXo8sC1MU18oSrkDzoAq2A9cnC5LV59vkoGKiY8JR/MLesxYCSYKV/Lbx9A==",
  "shasum": "ab36e4955908cca520cb87031aa53fe2a4510ba5",
  "tarball": "https://registry.npmjs.org/@0xflair/react-ui/-/react-ui-0.49.8.tgz",
  "fileCount": 8,
  "unpackedSize": 632347,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDs94D3EM1IWL4sSwbPKXWn7tpGEt9vVcMV0b/8NmpMLQIgdaSwQiqfzJW832lpWul31KgfgICZ/rwZau1CbIBWv8Q="
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil2b7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJMw//f8NqJJtjA5Cusyku5ePP3FNEHth2SjZDC5h3GxLWDGXppTZm\r\n0HBXF6EUxep2XsBhdVmkHj3q01pETjEKwnJSf6wCpd9wZYOpfQgbglXNE7k3\r\nq4OJ+EIeXGcFFDXdIHPDQamphHuVQ65nJtvyBES1M2QvacN7E77PRofMjIhF\r\npQy5z1U2ITE561HpaaydjwHBbixKH9wVWCc7/b5QHYd8uYpjt2dg0TMJ+/wz\r\nPOQlqFFMy7e3NfVEeNJvzIgABLV4L5bFX6uDUYiTVQ+7QReG2iyTYjNVpcdv\r\nxbMza9EJpWyZEjqpKer6iFuGoX2thU0o/uucf8VbXTc5LoTvWrDM2efNj2uF\r\nlprcFq4sq9fSaYjVIJYaZnKiwwNOT8lUKp/h/7XUXHEZiXdVnPyPXB7PfPAt\r\nwrCJkuF5Laq+Tu4D41QrSJ+Y4Po8pUh++BAsR/uEIX+ei+hSnTs9wMIIO6kZ\r\nX7jaPAT2jjYNpgPbPLu0uXUdcUvFsU0pKxK/4eE2/8uK4zgzM/+VLktAwxmj\r\nWUyCGvssI4tbN8R3i4UrhXe3b6nZ86W+gCDyMMMrVBJ6HAMZVt5ibBxlk+DU\r\nSC5VDC/X62iBUhwlrhvEJJIr0QzG+/RfYNgH9SUuMJEMPflYIn3O/AEMkO7I\r\nW5IQbvymxlXUA5Lvi+MTWQ+S9Iy4Vv9qTCw=\r\n=ctIN\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:f232f3e45220b90091b64eb3671c49c5a26669dfa4fd20953864b115403cdcd5

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 →