Socket
Socket
Sign inDemoInstall

@finastra/angular-components

Package Overview
Dependencies
2
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @finastra/angular-components

![](../../.github/assets/banner_angular-components.png)


Version published
Weekly downloads
81
increased by5.19%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

@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

FAQs

Last updated on 19 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc