pegakit-buttons
v0.0.3
Published
The default Button component. Part of PegaKit's UI Toolkit.
Downloads
3
Maintainers
Readme
PegaKit Buttons
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