@peculiar/fortify-webcomponents-react
TypeScript icon, indicating that this package has built-in type declarations

4.0.3 • Public • Published

Fortify logo

Fortify Web components React

These are React specific building blocks on top of @peculiar/fortify-webcomponents components.

Using components

To get started with using components install the @peculiar/fortify-webcomponents-react package:

npm install @peculiar/fortify-webcomponents-react

Import the stylesheets from peculiar in your main app file:

import '@peculiar/fortify-webcomponents/dist/peculiar/peculiar.css';

Then you can use a components anywhere in your JSX.

import React from 'react';
import ReactDOM from 'react-dom';
import { PeculiarFortifyCertificates } from '@peculiar/fortify-webcomponents-react';

ReactDOM.render(
  <PeculiarFortifyCertificates />,
  document.querySelector('#root'),
);

Examples

Are you looking for an example project to get started? We host some.

Documentation

Check out our documentation website.

Customize the theme​

To customize the look and feel of the components, components have CSS variables you can override to provide a theme for your components. See the supported CSS variables in peculiar.scss file.

Package Sidebar

Install

npm i @peculiar/fortify-webcomponents-react

Weekly Downloads

62

Version

4.0.3

License

BSD 3-Clause

Unpacked Size

64.1 kB

Total Files

15

Last publish

Collaborators

  • rmhrisk
  • microshine
  • yury.strozhevsky
  • peculiarventures
  • apilguk
  • donskov