fis-horizon-ui
v1.0.0
Published
React component library for FIS HORIZON — Figma Make Kit companion package
Maintainers
Readme
fis-horizon-ui
React component library for FIS HORIZON — the Figma Make Kit companion package.
All design tokens are mapped directly from FIS-Component-Library in Figma.
Fonts used: Barlow (headings/display) · Source Sans Pro (body/labels)
Components
| Component | Description |
|---|---|
| CustomerHeader | Sticky customer identity card at the top of the Customer 360 view |
| AccountSummaryCard | Individual account card (checking, savings, loan, CD) |
| DataTable | Transactions table with status badges |
| AlertBanner | Contextual alerts (fraud, notices, compliance) |
| QuickActions | Button group for common banker tasks |
Setup & Publishing (Step-by-Step)
Step 1 — Install Node.js
If you don't have it, download from https://nodejs.org (choose the LTS version).
Check it worked by opening your terminal and typing:
node -vStep 2 — Install dependencies
In the terminal, navigate to this folder and run:
cd fis-horizon-ui
npm installStep 3 — Build the package
This compiles the React components so they can be used by others:
npm run buildYou should see a dist/ folder appear.
Step 4 — Create an npm account
Go to https://www.npmjs.com and sign up for a free account if you don't have one.
Then log in from your terminal:
npm loginIt'll ask for your username, password, and email.
Step 5 — Publish
npm publishDone. Your package is now live at https://www.npmjs.com/package/fis-horizon-ui
Using in Figma Make
When writing your Figma Make prompt, reference the package like this:
Use the fis-horizon-ui npm package for all components.
Import CustomerHeader, AccountSummaryCard, DataTable, AlertBanner,
and QuickActions from 'fis-horizon-ui'.Fonts
Add these to your HTML <head> or your app's CSS to load the correct typefaces:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700;900&family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">Token Reference
import { colors, spacing, radius, typography, shadow } from 'fis-horizon-ui';
// Example usage
colors.bg.brand // #015B7E — primary brand background
colors.text.primary // #011C27 — main body text
colors.border.default // #E8DBCB — default card borders
spacing[4] // '16px'
radius.lg // '12px'
typography.family.display // 'Barlow, sans-serif'