Skip to main content

Built-ins for Vues

Vue built-ins are features shipped with the framework for common UI needs. Transition and TransitionGroup animate elements entering and leaving, Teleport renders content elsewhere in the DOM such as a modal at body level, v-model binds form inputs two ways, and custom directives encapsulate low-level DOM behaviour.

Stage: Composition and Reuse · Part of the Vue roadmap · Last reviewed 19 November 2026

What to learn in Built-ins

Built-ins interview questions

Why use Teleport for modals?

A modal nested deep inside a component can be clipped by parent overflow or stacking context. Teleport renders its content to another DOM location such as body while keeping it logically inside the component, so state and props still work.

What does the .lazy modifier on v-model do?

By default v-model updates on every input event. The .lazy modifier syncs on the change event instead, usually after the field loses focus. Other modifiers include .trim and .number.

Where Built-ins fits in the Vue roadmap

Built-ins belongs to the Composition and Reuse stage (intermediate level), which takes about 19 hours. Share logic.

Back to the full Vue roadmap