Start with the installation and then feel free to explore the different sections of the design system to start building applications based on ENGIE standards.
Install the package inside your application from npmjs:
When you only need to include compiled CSS or JS from Fluid, you can use our CDN links:
Find out more links directly on JsDeliver
Fonts and icons
Fluid Design System uses the Lato font as global font family, read more about the typography on the dedicated section.
ENGIE has selected the Google material font as default icons pack, read more on the icons documentation.
Be sure to include these fonts into the HTML header:
You can use the built files from the
Make sure to include the Google material icons first.
Include the library
Copy-paste the stylesheet
<link> into your
<head> before all other stylesheets to load our CSS.
Include a single component
Include the Toggle component styles only:
Place the following
<script> near the end of your pages, right before the closing
</body> tag, to enable components using JS.
Include the Collapse component UMD script:
You can import the sources files from the
src/ directory. Feel free to use your asset builder (Webpack, gulp, grunt…)
This is the default value : $icon-font-path: "./components/icon/fonts/" located in fluid-design-system.scss file.
Make sure to include the Google material icons first if you import the entire library or icon component.
Import the library
Import the library in your project:
Import a single component
Import the Toggle component file only:
If the import is not working, use this one instead (see Index Files):
Manual initialization for a single component
Components can be initiated manually
- Import one component in your project.
If you have any issues while getting set up with Fluid Design System, please create an issue or a request on our library git repository.