trowel-ribbons

The official Trowel Component for ribbons


Keywords
scss, css, twig, html, trowel, trowel-ribbons, ribbon, bower, npm, trowel-component, twig-embed, twig-include
License
MIT
Install
bower install trowel-ribbons

Documentation

Friends of Trowel

Trowel Ribbons

npm version Bower version

The official Trowel Component for ribbons Ribbons is a Trowel Component, please refer to the Trowel doc for more informations about how works Trowel Components

Getting Started

Download

You can easily install Trowel Ribbons by using npm, Yarn or Bower

# With bower
$ bower install trowel-ribbons

# With npm
$ npm install trowel-ribbons

# With yarn
$ yarn add trowel-ribbons

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/ribbons.scss. As a Trowel Component, it also requires two dependencies to compile the scss code. Here an scss installation snippet.

// Trowel Dependencies
@import './path/to/dependencies/trowel-core/src/trowel';

// Trowel Components Ribbons
@import './path/to/dependencies/trowel-ribbons/src/scss/ribbons.scss';

CSS

If you don't want to customize the trowel component in scss you can use the css file available at ./dest/css/ribbons.css. A minified version is available at the same location.

Twig template

The twig template is located at the ./src/twig/ribbon.html.twig.

Usage

to be written

Contributing

If you want to contribute you can checkout the contribution guide over here

License

MIT © Trowel