# makeAssistantVisible
URL: /docs/copilots/make-assistant-visible
Make React components visible and interactive to assistants via higher-order component wrapping.
`makeAssistantVisible` is a higher-order component (HOC) that makes React components "visible" by the assistant, allowing it to understand and interact with the component's HTML structure.
## Usage \[#usage]
```tsx
import { makeAssistantVisible } from "@assistant-ui/react";
const Button = ({ onClick, children }) => (
);
// Basic usage - makes component HTML readable
const ReadableButton = makeAssistantVisible(Button);
// With clickable configuration
const ClickableButton = makeAssistantVisible(Button, {
clickable: true, // Enables the click tool
});
// With editable configuration
const EditableInput = makeAssistantVisible(Input, {
editable: true, // Enables the edit tool
});
```
## API Reference \[#api-reference]
### Parameters \[#parameters]
* `Component`: The base React component to enhance
* `config`: Optional configuration object
* `clickable`: When true, enables the assistant to programmatically click the component
* `editable`: When true, enables the assistant to programmatically set the value of an input or textarea within the component
### Behavior \[#behavior]
The HOC will:
1. Make the component's HTML structure available to the assistant via the system context
2. Optionally provide a `click` tool if `clickable` is true
3. Optionally provide an `edit` tool if `editable` is true, which sets the value of an `` or `