Skip to content

Elementary UI components based on the Pattern Lab

Notifications You must be signed in to change notification settings

SVO404/IMA.js-ui-atoms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ima-ui-atoms

The IMA UI atoms are elementary UI components based on the Pattern Lab design pattern for creating atomic design systems.

This package provides various most commonly needed atoms, but both their functionality and their number are likely to be extended in the future.

The Image, Iframe and Video atoms provide the lazy loading functionality by default. All the atoms provided by this package are AMP HTML-compatible.

Installation

npm install ima-ui-atoms --save
// /app/build.js

var vendors = {
    common: [
        'ima-ui-atoms'
    ]
};

var less = [
	'./node_modules/ima-ui-atoms/*.less',
];

/*
The atom components are now available within the namespace:

ns.ima.ui.atom.headline.Headline1;
ns.ima.ui.atom.paragraph.Paragraph;
...

import { Headline1, Paragraph, Link, Image, Iframe, Video, ListItem, UnorderedList, Loader } from 'ima-ui-atoms';
*/
// /app/config/bind.js
import { UIComponentHelper } from 'ima-ui-atoms';

// add helper to utils
oc.constant('$Utils', {
	.
	.
	.
	$UIComponentHelper: oc.get(UIComponentHelper)
});

oc.bind('GoogleAnalytic', GoogleAnalytic);

IMA.js

The IMA.js is an application development stack for developing isomorphic applications written in pure JavaScript. You can find the IMA.js skeleton application at https://github.com/seznam/IMA.js-skeleton.

About

Elementary UI components based on the Pattern Lab

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.1%
  • CSS 9.2%
  • HTML 0.7%