--- title: Customizing Tooltips path: /v5/customizing-tooltips/ index: 3 --- As seen in the demo, the `tippy()` function takes an object of optional props as a second argument to customize the tooltips being created: ```js tippy('button', { duration: 0, arrow: false, delay: [1000, 200], }); ``` You can also specify props on the element using data attributes: ```html ``` Note that only JSON values are valid in attributes. It can be useful to use the function for "global" config and choose attributes for individual config here and there: ```html ``` ```js // Global config for all