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

i2ui - Intuitively Understantable User Interface

  • 1.0.16
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

i2ui

Intuitively Understantable User Interface

Glossary

Usage

Installation:

npm install i2ui

TagCloud

Live Demo

import { TagCloud } from 'i2ui';
...
<TagCloud
    fromStyle={{
        fontSize: 10,
        color: 'LightSkyBlue',
        backgroundColor: 'DarkBlue',
        margin: 5,
        padding: '1px 2px',
        borderRadius: 3,
        borderWidth: 1,
        borderStyle: 'solid',
        borderColor: 'LightSkyBlue',
    }}
    toStyle={{
        fontSize: 40,
        color: 'DarkBlue',
        backgroundColor: 'LightSkyBlue',
        margin: 10,
        padding: '2px 8px',
        borderRadius: 10,
        borderWidth: 3,
        borderStyle: 'solid',
        borderColor: 'DarkBlue',
    }}
    order="middle"
    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 },
    ]}
/>
NameRequiredTypeDescription
optionstruearrayTags data
fromStyletrueobjectTag's style with lower rate
toStyletrueobjectTag's style with highest rate
orderfalsestringTag's order: none(default), desc, middle, asc, edge
classNamefalsestringContainer's class name
stylefalseobjectContainer's style

I2Number

Live Demo

import { I2Number } from 'i2ui';
...
<I2Number
    value={1234567.89}
    fromStyle={{ fontSize: '1em', opacity: 0.6 }}
    toStyle={{ fontSize: '4em', opacity: 1 }}
    decimalDigits={2}
/>
NameRequiredTypeDescription
valuetruenumberValue
fromStylefalseobjectPart of number's style with lower significance
toStylefalseobjectPart of number's style with highest significance
basicMaxValuefalsenumberMax value to empasize. Used in set of numbers to be basic.
Actually, this is the max mumber from the set.
verticalAlignfalsestringVertical align: top, center, bottom(default)
decimalDigitsfalsenumberNumber of decimal digits. Default is 0
grouplDigitsfalsenumberNumber of group digits. Default is 3
groupSeparatorfalsestringSeparates groups of digits
decimalSeparatorfalsestringSeparates decimal part
classNamefalsestringContainer's class name
stylefalseobjectContainer's style

Keywords

FAQs

Package last updated on 30 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