@primitivexyz/ui

v0.1.0

Primitive UI components for React

Install

npm install @primitivexyz/ui

or

yarn add @primitivexyz/ui

Usage

To use Primitive branded components, nest all components in the StylesProvider. Eg.

import { StylesProvider, Button } from '@primitivexyz/ui'

<StylesProvider>
  <Button>Logout</Button>
  ...
</StylesProvider>

Building and Publishing

Pre-requisites to publishing:

  1. Ensure you have write access to the npm package: https://www.npmjs.com/package/@primitivexyz/ui/access

Building and Publishing:

  1. Run npm run build or yarn run build to generate the dist folder.
  2. Run npm publish
npm i @primitivexyz/[email protected]

Metadata

  • Unknown
  • Whatever
  • Unknown
  • released 2/24/2023

Downloads