Skip to content

nambach/ionic-form-components

Repository files navigation

ionic-form-components

npm version

Simple Ionic components for building mobile form.

Demo

Pull this repo, run npm i and then npm start and browse localhost:4200 to view the sample components.

Setup

1. Installation

npm i ionic-form-components

or

yarn add ionic-form-components

2. Import modules

Modify the page's module that needs to use components as below.

import {
  IonicFormModule,
  IonicFormViewModule,
  IonicFormPipesModule
} from 'ionic-form-components';

@NgModule({
  imports: [
    ...
    IonicFormModule,
    IonicFormViewModule,
    IonicFormPipesModule
  ],
  ...
})
export class SomePageModule {}

3. Import styles

Add this import statement in your global.scss file.

@import "~ionic-form-components/src/styles/global";
@import "~ionic-form-components/src/styles/variables";

Notes

Support:

  • Angular 12.0.0 +
  • Ionic 5.0.0 +

License

Released under MIT license.

About

Simple Ionic components to build mobile form.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published