PegaKit Buttons
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 ./source/_patterns/01-atoms/buttons//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/source/_patterns/01-atoms/buttons//scss/buttons.scss';
Twig files
The twig file is located at the ./source/_patterns/01-atoms/buttons/button.twig
.
Usage
@TODO: Usage info.
License
MIT © Pegasystems