GC Design System Start to use Install GC Design System
Home Start to use Page templates overview Basic page Components overview Breadcrumbs Button Card Checkboxes Container Date input Date modified Details Error message Error summary Fieldset File uploader Footer Grid Header Heading Icon Input Language toggle Link Notice Pagination Radios Screenreader-only Search Select Side navigation Signature Stepper Text Textarea Theme and topic menu Top navigation CSS shortcuts overview Reset styles Responsive layout State Box sizing Container sizing Display Overflow Position Visibility Font Font family Font size Font style Font weight Line height Link colour Link size Link text decoration List style Text align Text colour Text overflow Text transform Word break Margin Padding Align content Align items Align self Flex Flex direction Flex grow Flex shrink Flex wrap Gap Grid columns Grid rows Justify content Justify items Justify self Order Place content Place items Place self Background colour Border colour Border radius Border style Border width Icon names Icon size Image Cursor Pointer events Transition Styles overview Design tokens Colour tokens Spacing tokens Typography tokens Contact us Get involved Find a demo

Install Angular

To make it easier to integrate GC Design System web components into Angular projects, the gcds-components-angular package provides Angular wrappers.

These wrappers make it easier to work with web components in the Angular ecosystem by preventing unnecessary repaints through detached change detection, and enabling form controls to work with ngModel and reactive forms.

The web components inherit native properties and interoperability.

Angular installation instructions

Follow these steps to install and use GC Design System components in your Angular project.

1. Install the package

Navigate to your project’s root folder and run the following command:

npm install @cdssnc/gcds-components @cdssnc/gcds-components-angular

2. Import GC Design System

Place the following code in the app.module.ts file of your app:

import { GcdsComponentsModule } from '@cdssnc/gcds-components-angular';

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    ...,
    GcdsComponentsModule
  ],
  providers: [],
  bootstrap: [...]
})

export class AppModule { }

Place the following code in the styles.scss file of your app to import GC Design System styles:

@import '../node_modules/@cdssnc/gcds-components/dist/gcds/gcds.css';

3. Add CSS Shortcuts stylesheet We recommend using GC Design System CSS Shortcuts to apply predefined CSS utility classes. These classes align with our components and help you build faster while maintaining consistency. Using CSS Shortcuts in your project is optional. It can be added alongside your existing CSS. Navigate to your project’s root folder and run the following command:
npm install @gcds-core/css-shortcuts

Add the following code in the styles.scss file of your app to import CSS Shortcuts:

@import '../node_modules/@gcds-core/css-shortcuts/dist/gcds-css-shortcuts.min.css';

4. Start building Once you’ve installed the design system, you can start pulling the code you need into your project.

Start with a template Start with a basic page template. It combines multiple components for common GC pages.

Start with components Add components to build a product that meets your needs.

Start with your code Add style classes to HTML using CSS Shortcuts. This is for your custom code.

Need help? If you need help, reach out to us and we'll help you get started.
2025-10-01