Collector Portal Framework
A collection of UI components and helper functions used in a couple of our internal and external web applications at Collector Bank. Documentation and an interactive test area can be found here.
This package contains
Technologies used
- React
- TypeScript
-
Glamorousemotion
Install
$ npm install --save collector-portal-framework
How to use
import React from 'react';
import ReactDOM from 'react-dom';
import { CollectorPortalFramework } from 'collector-portal-framework';
import { YourApp } from './App';
ReactDOM.render(
<CollectorPortalFramework>
<YourApp />
</CollectorPortalFramework>,
document.getElementById('root')
);
Available components
You can see a demo of the UI components here. If you want your own local copy you can clone this repo and do npm install
followed by npm start
to start a local instance of Storybook.
Generic components
Typographic components
Component | Source |
---|---|
H1 | Source |
H2 | Source |
H3 | Source |
Text | Source |
TextLink | Source |
"Portal specific" components
Component | Source |
---|---|
Togglable | Source |
Fieldset | Source |
Logo | Source |
MainContainer | Source |
MainMenu | Source |
Modal | Source |
PageHeader | Source |
Tabs | Source |
ValueList | Source |