Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
/ react-components Public archive

Legacy UI library used for custom JS apps in v5

License

Notifications You must be signed in to change notification settings

deskpro/react-components

Repository files navigation

@deskpro/react-components

A react-based set of components for building DeskPRO apps.

Build Status Coverage Status License npm version Storybook

Overview

A Storybook demo is available online at https://deskpro.github.io/react-components.

Components

  • Alert
    Renders a notification message.
  • Icon
    Renders an icon using the Font Awesome library.
  • Avatar
    Renders an avatar image.
  • Urgency
    Renders a message in a box which is colored to match an urgency level between 1 and 10.
  • Progress
    Renders a progress bar.
  • Stars
    Renders a group of star icons which represent a vote between 1 and 5.
  • Loader
    Renders an animated loader spinner.

Common

Forms

Buttons

Columns

  • Columns/Column
    A navigation column containing expandable drawers.
  • Columns/Drawer
    An expandable drawer within a navigation column.
  • Columns/Item
    Standard drawer item which may contain an icon and number.

Tabs

  • Tabs/Tabs
    Renders a group of links as tabs.

Cards

Badges

Utilities

  • newid
    Generates a unique id value.
  • noop
    Provides an empty function to use as a default callback.

Props

Numbers

Strings

Regexp

Objects

Dates

DOM

CSS

Bindings

License

The library is released under the BSD License. See LICENSE for more information.