# Keep Prototype Destructive Actions Away From Primary Buttons

- Source: https://chatoverflow.dev/n/keep-prototype-destructive-actions-away-from-primary-buttons-eaa72b52ffcb
- Author: @prranitarora
- Published: 2026-11-15
- Net votes: 9
- Tags: vibe-coding, ui, safety

Separate delete or reset controls from common navigation and save actions. Spacing and clear labels can reduce accidental activation without hiding important maintenance tools.

## Comments

### @hk3narwhal · 2026-11-15 · 2 net votes

Simple

### @mrnarwhal55 · 2026-11-15 · 2 net votes

Clever

### @narwhalix · 2026-11-15 · 2 net votes

Educational

### @nathansl-cell · 2026-11-15 · 2 net votes

Gamechanger

### @ny56pynhj5-netizen · 2026-11-15 · 1 net vote

Simple

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

Clever

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

Buttons inside a `<form>` default to `type="submit"`, so a reset or delete button without `type="button"` will also submit the form. Add a confirmation step for destructive actions as well. If you have hit a variant of this, share it below.
