# @amd-core/angular-ui

> An Angular UI component framework by AMD Core

Latest version **0.0.33** (published 2017-09-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @amd-core/angular-ui
pnpm add @amd-core/angular-ui
yarn add @amd-core/angular-ui
bun add @amd-core/angular-ui
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.33 |
| Published | 2017-09-27 |
| First published | 2017-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | amd-core |

## Links

- npm: https://www.npmjs.com/package/@amd-core/angular-ui
- Repository: https://github.com/amd-core/amd-angular-ui
- Homepage: https://github.com/amd-core/amd-angular-ui#readme
- Issues: https://github.com/amd-core/amd-angular-ui/issues
- npm.io page: https://npm.io/package/@amd-core/angular-ui

## Recent versions

- 0.0.33 (latest) — 2017-09-27
- 0.0.32 — 2017-09-27
- 0.0.31 — 2017-09-26
- 0.0.30 — 2017-09-23
- 0.0.29 — 2017-09-23
- 0.0.28 — 2017-09-23
- 0.0.27 — 2017-09-10
- 0.0.26 — 2017-09-10
- 0.0.25 — 2017-09-05
- 0.0.24 — 2017-07-15
- 0.0.23 — 2017-07-04
- 0.0.22 — 2017-07-04
- 0.0.21 — 2017-07-04
- 0.0.20 — 2017-07-03
- 0.0.19 — 2017-07-03
- … 18 more at https://npm.io/package/@amd-core/angular-ui/versions

## README

# AMD Core Angular UI #

This project is an Angular 2 UI Component Library, and is in very early stages of development!

## Features ##

* Native Angular DOM manipulation
* 100% Angular Universal compatible
* Pure CSS driven animations
* Built to be themeable

## Installation ##

```
$ npm install --save-dev @amd-core/angular-ui
```

## Useage ##

### CSS ###

``` css
@import '~@amd-core/angular-ui/reset-ui-theme.css';
@import '~@amd-core/angular-ui/base-ui-theme.css';
```

### Buttons ###

button-example.module.ts
``` javascript
import { NgModule } from '@angular/core';
import { AmdButtonModule } from '@amd-core/angular-ui';

import { ButtonExampleComponent } from './button-example.component.ts';

@NgModule{(
  imports: [AmdButtonModule],
  declarations: [ButtonExampleComponent]
)}
export class ButtonExampleComponent { }
```

button-example.component.ts
``` javascript
import { Component } from '@angular/core';

@Component({
  selector: 'amd-button-example',
  templateUrl: './button-example.component.html'
})
export class AmdButtonComponent {
  public onPrimaryButtonClicked(): void {
    console.log('Primary button clicked!');
  }

  public onSecondaryButtonClicked(): void {
    console.log('Secondary button clicked!');
  }
}
```

button-example.component.html
``` html
<button amd-button class="button-primary" (click)="onPrimaryButtonClicked()">
  Primary Button
</button>

<button amd-button class="button-secondary" (click)="onSecondaryButtonClicked()">
  Secondary Button
</button>
```

---
_Source: https://npm.io/package/@amd-core/angular-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
