@primitivexyz/ui
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

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

/@primitivexyz/ui/

    Package Sidebar

    Install

    npm i @primitivexyz/ui

    Weekly Downloads

    1

    Version

    1.4.0

    License

    none

    Unpacked Size

    1.29 MB

    Total Files

    8

    Last publish

    Collaborators

    • alexangelj