# Turn components on and off

Each component the agent can draw in a reply has a switch. Turn one off when it does not suit your app, for example charts in a product that shows no numbers. Every component is on by default.

## Turn a component off

1. In the portal, go to [**Web Agents**](https://auth.faustine.ai/go?to=%2Fweb-assistants) and select your agent.
2. Select the **Generative UI** tab.
3. Find the component in the list, or enter its name in **Search components…**. Each section shows what the component is for and an example.
4. Turn off the switch in the component's section. The label next to it changes to **Off**.
5. Select **Save changes**.

The agent stops using the component from the next message, in every environment. This setting does not belong to a version and does not need a publish. Replies already in a conversation that used the component are no longer drawn with it.

To turn it back on, turn on the switch and select **Save changes**. **Discard changes** returns the switches to what is saved.

## Turn an imported component off

The cards you imported from your app are listed under **Entities**, after `EntityCards`. Each has the same switch.

With an imported component off, the agent draws that entity with `EntityCards`. The component stays imported.

**Remove** deletes the imported component. Unlike the switch, removing is a change to the draft: your users keep the component until you [publish a version](https://docs.faustine.ai/web-agents/publish-a-version/) and [deploy it](https://docs.faustine.ai/web-agents/deploy-a-version/).

## Next steps

- [Generative UI](https://docs.faustine.ai/web-agents/generative-ui/): the components by group.
- [Import your own components](https://docs.faustine.ai/web-agents/import-components/): add your app's cards to **Entities**.
- [Match the look of your app](https://docs.faustine.ai/web-agents/match-your-app/): change how the components look.
