This repository has been deprecated and is no longer actively maintained. We recommend you use the crownpeak-pwa-template instead.
The FirstSpirit Experience Accelerator (FSXA) is the hybrid solution of a digital experience platform, combining a headless approach with enterprise capabilities. The FSXA stack consists of five repositories:
- FSXA-PWA
- FSXA-UI/ Component Library
- FSXA-Nuxt-Module
- FSXA-Pattern-Library
- FSXA-API
While the FSXA-API is a maintained product with a life cycle, the FSXA-PWA, FSXA-UI, FSXA-Nuxt-Module and FSXA-Pattern-Library are merely best practices examples how a project could be set up and integrate the FSXA-API. The latter repositories can be forked to speed up the startup time of a frontend project or to understand how common use cases can be solved in headless projects. The code itself can therefore also be used as documentation of best practices.
The following image illustrates the product cut:
Attention Since the reference implementation does not represent a maintained product, we do not guarantee support for its use.
FSXA-UI is really easy to get started with. Make sure to follow the guide below to get a better understanding about some of the decisions behind FSXA-UI and how to use it to kick-off your next project.
You can install FSXA-UI via Yarn or NPM.
# with npm
npm install fsxa-ui --save
# with yarn
yarn add fsxa-ui
Please make sure that the main CSS file is imported from the FSXA UI package.
// directly importing the css into your main component
import "fsxa-ui/dist/fsxa-ui.css";
/* using node-style package resolution in a CSS file */
@import "fsxa-ui/dist/fsxa-ui.css";
<!-- using plain html -->
<link
href="path/to/node_modules/fsxa-ui/dist/fsxa-ui.css"
rel="preload"
as="style"
/>
Now you can use the components in your project. In the navigation you will find all available components with a detailed description of all properties and usage examples.
Here you can see how easy the Button
component can be used.
import { Button } from "fsxa-ui";
<Button variant="animated" handleClick={handleClick}>
This is my Button
</Button>;
Please make sure that your component is registered correctly.
npm run serve
npm run build
npm run test:unit
npm run lint
- --fsxa-text-highlight-color
FSXA-UI is an example solution of Crownpeak Technology GmbH, Dortmund, Germany. The FSXA-UI is subject to the Apache-2.0 license.
This document is provided for information purposes only. Crownpeak Technology may change the contents hereof without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. Crownpeak Technology specifically disclaims any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. The technologies, functionality, services, and processes described herein are subject to change without notice.