Catalog npm
PACKAGE EXPLORERView in registry

@0xflair/react-ui

npm

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

Versions collected415
Direct dependencies14From release 0.123.2
Last observed20 Oct, 23:33 UTC

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.

Versions 415

Collected releases
VersionPublishedDirect dependenciesOpen version
0.111.22 Sept 202215
0.111.12 Sept 202215
0.111.02 Sept 202215
0.110.01 Sept 202215
0.109.31 Sept 202215
0.109.231 Aug 202215
0.109.131 Aug 202215
0.109.031 Aug 202215
0.108.231 Aug 202215
0.108.131 Aug 202215
0.108.031 Aug 202215
0.107.1331 Aug 202215
0.107.1231 Aug 202215
0.107.1131 Aug 202215
0.107.1031 Aug 202215
0.107.930 Aug 202215
0.107.830 Aug 202215
0.107.729 Aug 202215
0.107.629 Aug 202214
0.107.529 Aug 202214

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:30 UTC

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

Record identity

package:fa90d0d222780e2c77dfa880fd6fc16ed50b2d27485665a73023d7e24aa984c8