Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/WiziShop/ng-wizi-bulma
Bulma components for Angular
https://github.com/WiziShop/ng-wizi-bulma
angular angular-components angular2 bulma ng-wizi-bulma
Last synced: about 2 months ago
JSON representation
Bulma components for Angular
- Host: GitHub
- URL: https://github.com/WiziShop/ng-wizi-bulma
- Owner: WiziShop
- License: mit
- Created: 2017-03-01T17:23:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T10:33:24.000Z (11 months ago)
- Last Synced: 2024-10-18T07:11:50.986Z (about 2 months ago)
- Topics: angular, angular-components, angular2, bulma, ng-wizi-bulma
- Language: CSS
- Homepage: https://ng-wizi-bulma.firebaseapp.com
- Size: 2.76 MB
- Stars: 98
- Watchers: 7
- Forks: 19
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bulma - ng-wizi-bulma - Bulma components for Angular (UI Libraries & Components / Courses)
README
# NG Wizi Bulma
[![npm](https://img.shields.io/npm/v/@wizishop/ng-wizi-bulma.svg)](https://www.npmjs.com/package/@wizishop/ng-wizi-bulma)
[![npm](https://img.shields.io/npm/dm/@wizishop/ng-wizi-bulma.svg)](https://www.npmjs.com/package/@wizishop/ng-wizi-bulma)[Bulma](http://bulma.io/) components for Angular 15+
The library uses [ng-packagr](https://github.com/dherges/ng-packagr) to transpile into the Angular Package Format
## Demo
Try out the [demo](https://ng-wizi-bulma.firebaseapp.com/)
## Install
Run:
```sh
npm i -S @wizishop/ng-wizi-bulma bulma bulma-extensions @angular/cdk
```Import bulma (and needed extensions) scss into your main scss file:
```scss
@import 'node_modules/bulma/bulma.sass';
@import 'node_modules/bulma-extensions/bulma-switch/src/sass/index';
@import 'node_modules/bulma-extensions/bulma-tooltip/src/sass/index';
@import 'node_modules/bulma-extensions/bulma-calendar/src/sass/index';
```After Bulma, import ng-wizi-bulma scss into your main scss file allowing you to custom all variable from bulma:
```scss
@import 'node_modules/@wizishop/ng-wizi-bulma/ng-wizi-bulma';
```Load the Fontawesome icon font in your index.html.
```html
```Import the required modules `BrowserAnimationsModule` and `FormsModule` into your app module, then
import either all Nwb modules with `NwbAllModule` or only the module you want to use in your application for example `NwbDialogModule```ts
import {ApplicationRef, NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {HttpModule} from '@angular/http';
import {FormsModule} from '@angular/forms';import {NwbAllModule} from '@wizishop/ng-wizi-bulma';
@NgModule({
imports: [
BrowserModule,
FormsModule,
HttpModule,
BrowserAnimationsModule,
NwbAllModule,
],
declarations: [],
providers: [],
entryComponents: [],
})
export class AppModule {}
```## How to use it
If you want to see how components work, just see the demo file : `src/demo-app/demo-app/demo-app.ts`