This is the library of the vertical team's UI components.
npm install @verticalgmbh/componentsInstall the vertical component library by running the following command:
npm install @verticalgmbh/componentsMake sure that you have @angular/cdk, and @angular/material in your dependencies as well because we list these as peer dependencies:
npm install @angular/cdk @angular/materialImport the theme file by including the followng line in your styles.scss:
@import '@verticalgmbh/components/prebuilt-themes/vertical-light-theme.css';If you want to use a custom theme, please follow the theming guide.
Make sure that you have installed material icons and the roboto font.
Import the modules you want to use by adding the following lines to your app.module.ts file:
import { VerticalButtonModule } from '@verticalgmbh/components';
…
@NgModule ({....
imports: [...,
VerticalButtonModule,
…]
})Add vertical attributes to a html tag in your app.component.html:
<button vertical-contained-button>Button</button>You can find a demo of all components here.
| Feature | Documentation |
|---|---|
| button | Docs |
| checkbox | Docs |
| form-field | Docs |
| header | Docs |
| input | Docs |
| tabs | Docs |
| --------- | --------------- |
| theming | Guide |