# react/forbid-dom-props
📝 Disallow certain props on DOM Nodes.
This rule prevents passing of props to elements. This rule only applies to DOM Nodes (e.g. `
`) and not Components (e.g. ``).
The list of forbidden props can be customized with the `forbid` option.
## Rule Details
This rule checks all JSX elements and verifies that no forbidden props are used
on DOM Nodes. This rule is off by default.
Examples of **incorrect** code for this rule:
```jsx
// [1, { "forbid": ["id"] }]
```
```jsx
// [1, { "forbid": ["style"] }]
```
Examples of **correct** code for this rule:
```jsx
// [1, { "forbid": ["id"] }]
```
```jsx
// [1, { "forbid": ["id"] }]
```
## Rule Options
```js
...
"react/forbid-dom-props": [, { "forbid": [|