fic-designsystem-components
v1.1.7
Published
Evaa Design System components for React
Maintainers
Readme
fic-designsystem-components
Evaa Design System components for React.
This repository contains:
- A publishable component library (Vite + React + TypeScript)
- A local showcase app to preview components during development (see App.tsx)
Figma source: https://www.figma.com/design/H9nMooeYt4KObEGnhqxE1A/Evaa-Design-System-V.2
Install
npm i fic-designsystem-componentsPeer dependencies:
- react >= 18
- react-dom >= 18
Usage
Import the stylesheet once (recommended in your app entry):
import 'fic-designsystem-components/style.css';Then import and use components:
import { Button, PillBadge, TreeListCheckboxes } from 'fic-designsystem-components';
export function Example() {
return (
<div>
<Button variant="primary">Primary</Button>
<PillBadge variant="blue" size="sm">Eligibility Verification</PillBadge>
<TreeListCheckboxes ariaLabel="Tree list checkboxes" />
</div>
);
}Notes:
style.cssincludes the design tokens and component styles used by this library.theme.cssis exported as an alias ofstyle.cssfor compatibility:
import 'fic-designsystem-components/theme.css';Exports
This package ships:
- ESM:
dist/index.mjs(viaexports.import) - CJS:
dist/index.cjs(viaexports.require) - Types:
dist/index.d.ts - CSS:
dist/style.css
Browse the full export surface in index.ts.
Development
Run the local component showcase:
npm run devOther commands:
npm run build
npm run lint
npm run previewPublishing
prepublishOnly runs npm run build automatically.
npm publishFigma Make kit readiness
This package is compatible with Figma Make kits (Make uses Vite).
Recommended approach:
- Publish this package to public npm
- In Figma Make: create a kit → add this npm package → let Make generate initial guidelines → then refine
- Use the repo’s guideline templates as a starting point:
guidelines/
Key rules:
- Import CSS once:
import 'fic-designsystem-components/style.css' - Don’t rely on external icon/font CDNs in consumer environments (Make kits won’t use this repo’s
index.html)
License
MIT (see LICENSE).
