> This page is for Designer API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Reset All Props (Beta)

> Reset all prop values on a component instance to their component defaults.

## `element.resetAllProps()`

Reset all prop values on a component instance to their component defaults.

This method removes all static value overrides and bindings so that every prop returns the value that is defined in the component definition.
This method is a no-op if the instance has no overrides, and resolves without error in that case.
The reset is undoable via the Designer's undo stack.

> **Beta**
>
> These methods are in public beta and may change with future releases.

## Syntax

```typescript
element.resetAllProps(): Promise<null>
```

## Returns

**Promise\<`null`>**

A Promise that resolves to `null`

## Example

```typescript
// Get all elements on the page
const elements = await webflow.getAllElements()
const instanceEl = elements.find(el => el.type === 'ComponentInstance')

if (instanceEl?.type === 'ComponentInstance') {

  // Confirm that some props have overrides
  const before = await instanceEl.getProps()
  console.log(before[0].hasOverride) // true

  // Reset all props to their component defaults
  await instanceEl.resetAllProps()

  // All props now reflect their component defaults
  const after = await instanceEl.getProps()
  console.log(after[0].hasOverride) // false

} else {
  console.log('No component instance found')
}
```

## Designer Ability

| Designer Ability | Locale | Branch | Workflow | Sitemode |
| :--------------- | :----- | :----- | :------- | :------- |
| **canEdit**      | Any    | Any    | Canvas   | Any      |