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.
- React
- TypeScript
Glamorousemotion
$ npm install --save collector-portal-framework
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')
);
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.
Component | Source |
---|---|
H1 | Source |
H2 | Source |
H3 | Source |
Text | Source |
TextLink | Source |
Component | Source |
---|---|
Togglable | Source |
Fieldset | Source |
Logo | Source |
MainContainer | Source |
MainMenu | Source |
Modal | Source |
PageHeader | Source |
Tabs | Source |
ValueList | Source |