New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-fidelity-ui

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fidelity-ui

High fidelity material UI pack for ReactJS

  • 0.0.7
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

React Fidelity UI

High-fidelity UI pack for React.

Installation

Run npm install --save react-fidelity-ui

Principles

  • Simple declarative API
  • Highly configurable components
  • Semantic markup
  • Atomic design
  • CSS based animations and effects

Components

Breadcrumbs

Breadcrumbs component. This component works with array of objects with schema:

Object schema:
[{
  url: 'https://google.com', // string
  name: 'Google', // string
  isSelected: true // boolean
}, {
  url: 'https://yahoo.com',
  name: 'Yahoo',
  isSelected: false
}]
Example
import React, { Component } from 'react';
import { Dropdown, utils } from 'react-fidelity-ui';

const { changeMultiSelect } = utils;

class App extends Component {
  state = {
    items: [{
      url: 'https://google.com', // string
      name: 'Google', // string
      isSelected: true // boolean
    }, {
      url: 'https://yahoo.com',
      name: 'Yahoo',
      isSelected: false
    }]
  };
  render() {
    const { items } = this.state;
    return (
      <div className="app">
        <Breadcrumbs
          isToggleableOnMobile={true}
          isStackedOnMobile={false}
          items={createItems(5)}
          onChange={({ url, event }) => {
            event.preventDefault();
            console.log(url);
          }}
        />
      </div>
    );
  }
}
Defaults
import React, { Component } from 'react';
import { Breadcrumbs } from 'react-fidelity-ui';

const BreadcrumbsComponent = ({ title, text, items }) => (
  <Breadcrumbs
    isToggleableOnMobile={true} // boolean, default = true
    isStackedOnMobile={false} // boolean, default = true
    items={createItems(5)} // array of objects
    onChange={({ url, name, isSelected, event }) => {}} // function
  />
);
Dropdown

Multi-purpose dropdown component. This component supports single/multi select, items filtering, adding new items. This component works with array of objects with schema:

[{
  name: 'Item A', // string
  isSelected: true // boolean
}, {
  name: 'Item B',
  isSelected: false
}]
Timeline

Timeline component. This component supports horizontal/vertical display, asc/desc sorting. This component works with any array of objects, containing a date field.

Notification

Notifications component. This component displays static messages to the DOM.

Panel

General-purpose panel component. It comes with a number of built-in themes. This component can be utilized within other components like Dropdown and Timeline.

Tag

Tag component. It can be utilized within other components like Dropdown and Timeline.

Loader

Loader component. This component displays a loading spinner.

Icon

Icon component. It displays svg icons from the fidelity-ui icons pack.

Keywords

FAQs

Package last updated on 17 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc