npm.io
1.4.0 • Published 3d ago

@hxnova/react-components

Licence
BSD-3-Clause
Version
1.4.0
Deps
11
Size
6.7 MB
Vulns
0
Weekly
0

Nova Components

This library provides all of the essential building blocks for creating a Nova application.

Default installation

Nova Components uses Emotion as its default styling engine. Install the following packages in your project:

# With npm
npm install @emotion/react @emotion/styled @hxnova/react-components@beta

# With pnpm
pnpm add @emotion/react @emotion/styled @hxnova/react-components@beta

# With yarn
yarn add @emotion/react @emotion/styled @hxnova/react-components@beta

Usage

In your typescript file, import the component(s) you want to use. You can import them from the package root, or from the specific component subfolder:

// Replace ComponentName with the specific core component you want to use
import { ComponentName } from '@hxnova/react-components';
import { ComponentName } from '@hxnova/react-components/ComponentName';

You can learn more about the specific components and their usage by viewing the comprehensive Nova documentation.

Keywords