1.0.21 • Published 1 year ago

@fra.me/ui-components v1.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Frame UI Components Library

This repository contains a set of common React components, CSS helper classes and other utilities.

Go here for examples.

Setup

Install the package

npm install @fra.me/ui-components

or

yarn add @fra.me/ui-components

Import the global styles

In order for the components to have proper styles, the main stylesheet needs to be imported.

@import "~@fra.me/ui-components/dist/style.css";

This will load the stylesheets for all the components, along with some utility classes.

Use the components

import { Icon, IconNames, InputField, Spinner, SpinnerSize } from '@fra.me/ui-components';
<InputField
  name="name"
  value="Some value"
  error="An error message"
  description="A description"
  loading={true}
/>
<Icon icon={IconNames.JointSolid} />
<Spinner size={SpinnerSize.SMALL} />
1.0.21

1 year ago

1.0.20

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago