# useTabFocus Returns whether the user is focused on the tab ## Example ```tsx import { useTabFocus } from "@casperiv/useful/hooks/useTabFocus"; const Component = () => { const isFocused = useTabFocus(); if (isFocused) { return

You are focused on the tab!

; } return

You are not focused on the tab.

; }; ```