0.0.3 • Published 7 years ago

pegakit-buttons v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Friends of PegaKit

PegaKit Buttons

npm version Bower version

The default Button component. Part of PegaKit's pre-packaged UI Toolkit. Buttons is a PegaKit Component, please refer to the PegaKit doc for more informations about how works PegaKit Components

Getting Started

Download

You can easily install PegaKit Buttons by using npm, Yarn or Bower

# With bower
$ bower install pegakit-buttons

# With npm
$ npm install pegakit-buttons

# With yarn
$ yarn add pegakit-buttons

You can also download a zip archive right here.

Installation

SCSS

The main scss file to include to your main .scss file is located at the ./src/scss/buttons.scss. As a PegaKit Component, it also requires two dependencies to compile the scss code. Here an scss installation snippet.

// PegaKit Dependencies
@import './path/to/dependencies/pegakit-core/src/pegakit';

// PegaKit Components Buttons
@import './path/to/dependencies/pegakit-buttons/src/scss/buttons.scss';

Twig files

The twig file is located at the ./src/twig/button.html.twig.

Usage

to be written

License

MIT © PegaKit