# Hover > `v-b-hover` is a lightweight directive that allows you to react when an element either becomes > hovered or unhovered. ## Overview The `v-b-hover` directive can be used as an alternative to using custom CSS to handle hover states. - `v-b-hover` will call your callback method with a boolean value indicating if the element is hovered or not. - The directive can be placed on almost any element or component. - Internally, BootstrapVue uses this directive in several components. ## Directive syntax and usage ```html
content
``` Where callback is required: - A function reference that will be called whenever hover state changes. The callback is passed a single boolean argument. `true` indicates that the element (or component) is hovered by the users pointing device, or `false` if the element is not hovered. The directive has no modifiers. ### Usage example ```html ``` ## Live example In the following, we are swapping icons and text color depending on the hover state of the element: ```html ``` ## Accessibility concerns Hover state should not be used to convey special meaning, as screen reader users and keyboard only users typically can not trigger hover state on elements.