Include the script
<script src="pathTo/ttIcons.js"></script>
Add an element with a
tt-icon-picker
class
In this element, add a
data-controls
attribute with the id of the input that should have it´s value controlled by this button
<button class="tt-icon-picker" data-controls="icon-category" ></button>
Add and input with the same
id
of the data-controls value
<input type="hidden" id="icon-category"></input>