@finastra/angular-components
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

@finastra/angular-components stackblitz

The Finastra Angular components are the Angular implementation of the Finastra Design System. It features Finastra's branding of components (global search, data visualization, repeater, filters...).

🤔 How to use it?

You can get started in 3 simple steps:

Install the dependency (Note that the Angular components require our Angular Material theme.

npm install @finastra/angular-components

Import the required component in your project

import { ScrollToTopModule } from '@finastra/angular-components/scroll-to-top';

@NgModule ({
    imports: [,
    ScrollToTopModule,
]
})

Add the component in your HTML like so

<uxg-scroll-to-top></uxg-scroll-to-top>

💡 Components' theme

For more "advanced" components, you may require to import their themes SASS mixins. Find below a sample of what your main styles.scss would look :

@use '@finastra/angular-theme' as fds;
@use '@finastra/angular-theme/base';

@use '@finastra/angular-components/global-search/src/global-search.theme' as global-search;

@include fds.uxg-core();

// Add components typography mixins inside this mixin
@mixin app-typography($typography) {
  @include global-search.typography($typography);
}

// Add components theme mixins inside this mixin
@mixin app-theme($theme) {
    @include fds.uxg-material-theme($theme);
    @include global-search.theme($theme);
}

@include app-typography(fds.$typography);

@include app-theme(fds.$light-theme);

@media (prefers-color-scheme: dark) {
    @include app-theme(fds.$dark-theme);
}

💌 Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Consider reading our contribution guidelines

Readme

Keywords

none

Package Sidebar

Install

npm i @finastra/angular-components

Weekly Downloads

74

Version

5.0.1

License

none

Unpacked Size

2.68 MB

Total Files

365

Last publish

Collaborators

  • david.bocle
  • ffdcbot
  • ttalbot