Skip to content
masterclass Buddy

Vue.js · Directive

v-show

v-show controls an element's visibility from an expression. It keeps the element rendered and changes its CSS display style instead of creating or removing the element.

Last updated

Syntax

<element v-show="expression">...</element>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • v-if
  • v-else
  • v-else-if
  • Conditional Rendering

Source: Built-in Directives | Vue.js. Checked 2026-11-03.