# removeClass()

Removes a CSS class from a component.

## Signature

`removeClass(Object element, String newClass)`

## Parameters

***element*:** Type: `Object`. The component to remove the class from.

***newClass*:** Type: `String`. The CSS class to be removed.

## Sample Code

```javascript
//find a component with aura:id="myCmp" in markup
var myCmp = component.find("myCmp");
$A.util.removeClass(myCmp, "myClass");
```
