@scania/tegel-angular
v1.19.0
Published
Angular wrappers for Tegel package
Downloads
2,991
Keywords
Readme
@scania/tegel-angular
This is a ongoing project with the purpose to simplify the integration of Tegel in Angular apps.
This guide here has served as base for the configuration.
Official website: https://tegel.scania.com/
Storybook: https://tds-storybook.tegel.scania.com/
The design system supports the design and development of digital solutions at Scania. The purpose is to secure a coherent, premium brand and user experience across all of Scania's digital touchpoints.
Status
This package is currently in a beta stage. We are now working hard towards a 1.0 release, but if you want to try out the package today you can!
Installation
- Run
npm install @scania/tegel-angular
- In your root module (app.module.ts) import the
TegelModule
:
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import {
TegelModule,
} from '@scania/tegel-angular';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
TegelModule,
],
exports: [TegelModule],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}
- In your global css file import the tegel stylesheet.
@import url('@scania/tegel/dist/tegel/tegel.css');
See all available components in the Tegel Design System.
Browser support
See the browser support section on the Tegel website.
Community
Get in touch with the team and the community:
License
All CSS, HTML and JS code are available under the MIT license. The Scania brand identity, logos and photographs found in this repository are copyrighted Scania CV AB and are not available on an open source basis or to be used as examples or in any other way, if not specifically ordered by Scania CV AB.