---
schema_version: "1"
id: 6aeaa88cb460747d5cf70664f75dbb68d5fa60b72b4feeb1b97e15b9ff1bcdb7
title: View and Edit Visualforce Custom Components
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/pages_custom_components_edit.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.pages_custom_components_edit.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1489d6eed625d692b47765b5858dde6db0af16f348e468c58cf47ad1e7e60653
description: A custom component encapsulates a common design pattern that can be reused in one or more Visualforce pages.
products:
  - Salesforce Platform
release: "264"
---
# View and Edit Visualforce Custom Components

A custom component encapsulates a common design pattern that can be reused in one or more Visualforce pages.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Contact Manager</strong>, <strong>Group</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d25470e82">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d25470e82 ">To clone, edit, delete, or set versions for custom components:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d25470e82 ">Customize Application</td>

          </tr>
        </tbody>
      </table>

From Setup, enter Components in the Quick Find box, then select **Visualforce Components** and click the name of a custom component to view its definition.

From the detail page, you can do any of the following:

- Click **Edit** to edit the custom component.
- Click **Delete** to delete the custom component.
- Click **Clone** to create a copy of the custom component. You must specify a new name for the new component.
- Click **Where is this used?** to view a list of all references to the custom component in your organization.
- Click **Show Dependencies** to display the items, such as another component, permission, or preference, that must exist for this custom component to be valid.

Once your component has been created, you can view it at http://yourSalesforceOrgURL/apexcomponent/nameOfNewComponent, where yourSalesforceOrgURL is the URL used to access your Salesforce org (for example, MyDomainName.my.salesforce.com) and the value of nameOfNewComponent is the value of the Name field on the custom component definition.

The component is displayed as if it’s a Visualforce page. Consequently, if your component relies on attributes or on the content of the component tag’s body, this URL may generate results that you don’t expect. To more accurately test a custom component, add it to a Visualforce page and then view the page.

#### See Also

- [Visualforce Components](https://help.salesforce.com/s/articleView?id=platform.pages_custom_components.htm&release=264.0.0&type=5 "Visualforce components are small, reusable pieces of functionality—think widgets, panels, user interface elements, that kind of thing—that you use in Visualforce page markup. You can use standard Visualforce components, and create your own custom components.")