---
title: "web remove · RUAL Documentation"
description: "Removes one element from the page, e.g. the row of a deleted document. A RUAL web block in the web actions group. Block type: web_remove."
canonical: https://docs.rual.nl/block-types/web/web_remove
language: en
---

# web remove

This block is part of the [`web`](https://docs.rual.nl/block-types/web) group and was last modified in core [`v15.0.1`](https://docs.rual.nl/core-versions/150001).

Removes one element from the page, e.g. the row of a deleted document.

- flow

- key `value` The element's data-key: a row of web for each, or the key a web action received.

- target `value` A CSS selector instead of a key, e.g. `#cart-count`.

- flow

Adds a browser update to the web action's answer: the element is removed (after a short fade). Typical delete flow: web_action(key) -> storage delete(key) -> web_remove(key). Addressed by `key` (matches [data-key="<key>"]) or, when key is empty, `target` (a CSS selector); neither is an error that stops the flow. Only in a flow started by web_action (an error elsewhere). Updates apply in the order the blocks ran.

| `delete row` |
| --- |
| `remove element` |

The button sits in a row that [web for each](https://docs.rual.nl/block-types/web/web_foreach) gave a data-key, so [on web action](https://docs.rual.nl/block-types/web/web_action) receives that document's guid on key. [remove document](https://docs.rual.nl/block-types/storage/function_remove_document) deletes it, and [web remove](https://docs.rual.nl/block-types/web/web_remove) takes the same key and removes the row from the page after a short fade. A row that is already gone from the page is not an error.

[![Studio canvas example for the web remove block: deleting the row that was clicked.](https://docs.rual.nl/canvas-examples/web_remove.png)](https://docs.rual.nl/canvas-examples/web_remove.png?v=3)

## Used in these guides

These documentation pages use or explain this block:

- [Lists and Tables](https://docs.rual.nl/web/lists)

- [Markup Reference](https://docs.rual.nl/web/markup)

- [Web Actions](https://docs.rual.nl/web/actions)

- [Example: Inventory Tracker](https://docs.rual.nl/examples/inventory-tracker)

- [Example: Task Management App](https://docs.rual.nl/examples/task-management)

- [Build Your First CRUD App](https://docs.rual.nl/getting-started/first-crud-app)

- [Block Quick Reference](https://docs.rual.nl/reference/block-quick-reference)

## Version history

Introduced in [`v15.0.1`](https://docs.rual.nl/core-versions/150001).

- [`v15.0.1`](https://docs.rual.nl/core-versions/150001): block added in this release.

- [Back to `web`](https://docs.rual.nl/block-types/web): Return to the main group to view all sub-groups

- [Back to `web actions`](https://docs.rual.nl/block-types/web?group=web%20actions): Return to the group to view all blocks within this group
