# 8.17 Mask a sensitive value in place, everywhere

> Chapter 8, States. Section: Masks, search, and pending states. Guide: https://www.designguide.dev/md/08-states.md#mask-a-sensitive-value-in-place-everywhere

Default

**Rule:** Hide a sensitive value with a mask of the same size, in the same place, on every spot where it shows.

**Why:** A mask of the same size keeps the layout still. A partial mask leaves the fact readable below.  **When not:** Do not mask a value that the person must check before an action, such as a total.

- Put one switch next to the value, such as Hide weight.
- Mask the hero, the rows, and the charts with one switch.
- Remember the choice for the next visit.

**Picture:** Do: Every value is masked at the same size. Nothing moves. Don't: Only the hero is masked. The rows still show the value.
