# app/avo/resources/user.rb
class Avo::Resources::User < Avo::BaseResource
  self.row_controls_config = {
    placement: :right,
    float: false,
    show_on_hover: false,
  }
end
```

<Option name="`placement`">

Defines the position of the row controls.

##### Optional

`true`

##### Default value

`:right`

#### Possible values

- `:left` - Places the controls on the **left side** of the resource row.
- `:right` - Places the controls on the **right side** of the resource row.
- `:both` - Displays controls on **both sides** of the resource row.

:::warning
The `float` and `show_on_hover` options are designed to function optimally when `placement` is set to `:right`. While Avo does not restrict its usage with `:left` or `:both`, the applied styles are specifically intended for use with `:right`, and unexpected behavior may occur with other placements.
:::
</Option>

<Option name="`float`">

Determines whether the row controls should float over the row.

<DemoVideo demo-video="https://youtu.be/wnWvzQyyo6A?t=698" class="mb-4" />

##### Optional

`true`

##### Default value

`false`

#### Possible values

- `true` - Enables floating behavior.
- `false` - Disables floating behavior (default).
</Option>

<Option name="`show_on_hover`">

Controls whether the row controls should be displayed only on hover.

##### Optional

`true`

##### Default value

`false`

#### Possible values

- `true` - Displays the controls on hover only.
- `false` - Always shows the controls (default).
</Option>

---