# @chakra-ui/clickable
React hook that implements all the interactions of a native `button` component
with support for making it focusable even if it is disabled.
It can be used with both native button elements or other elements (like `div`).
## Installation
```jsx
import { useClickable } from "@chakra-ui/clickable"
```
## Usage
```jsx
// create a clickable primitive
const Clickable = (props) => {
const clickable = useClickable(props)
return
}
// use the clickable primitive
const Example = () => (
{
alert("clicked")
}}
_active={{ bg: "blue", color: "white" }}
_disabled={{ opacity: 0.4, pointerEvents: "none" }}
>
Clickable
)
```