Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i2ui

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i2ui

Intuitively Understantable User Interface

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
decreased by-36.67%
Maintainers
1
Weekly downloads
 
Created
Source

i2ui

Intuitively Understantable User Interface

Usage

Installation:

npm install i2ui

TagCloud

NameRequiredDescription
optionsYesTag data
fromStyleYesStyle for tag with lower rate
toStyleYesStyle for tag with highest rate
orderNoOrder of tags
Values: none(default), desc, middle, asc, edge
classNameNoContainer's class name
styleNoContainer's style

import { TagCloud } from 'i2ui';
<TagCloud options={[ { text: "Paris", rate: 2420069 }, { text: "Marseille", rate: 855393 }, { text: "Lyon", rate: 500715
}, { text: "Toulon", rate: 163760 }, { text: "Dunkirk", rate: 89882 }, { text: "Cambrai", rate: 32852 }, { text:
"Mallemort", rate: 5298 } ]} fromStyle={{ fontSize: '1em', margin: 5 }} toStyle={{ fontSize: '3em', margin: 10 }}
order="middle" />

TagCloud Live Demo

I2Number

NameRequiredDescription
valueYesValue
fromStyleNoStyle for part of number with lower significance
toStyleNoStyle for part of number with highest significance
fractionDigitsNoNumber of digits on fraction part of number. Default is 2
basicMaxValueNoMax number to empasize. Used in set of numbers to be basic.
Ussually this is the max mumber from the set.
alignNoOrder of tags
Values: none(default), desc, middle, asc, edge
classNameNoContainer's class name
styleNoContainer's style

import { I2Number } from 'i2ui';
<I2Number value={1234567.89} fromStyle={{ fontSize: '1em' }} toStyle={{ fontSize: '3em' }} />

I2Number Live Demo

Keywords

FAQs

Package last updated on 27 Nov 2019

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