Component Vue

Component Vue

Component Vue

4.9 / 5 · User rating · 374,880 reviews

Component Vue.

Official sources and datasets

Organization / providerDocument / datasetHow it is usedOfficial HTTPS
<Transition>Vue.js core teamApplies enter/leave animations to a single element or component.https://vuejs.org
<TransitionGroup>Vue.js core teamAnimates insertion, removal and reordering of items in a list.https://vuejs.org
<KeepAlive>Vue.js core teamCaches component instances when switching dynamic components.https://vuejs.org
<Teleport>Vue.js core teamRenders part of a component's template into another DOM node.https://vuejs.org
<Suspense>Vue.js core teamExperimental component that orchestrates async dependencies in a tree.https://vuejs.org
<component :is>Vue.js core teamSpecial element for rendering dynamic components.https://vuejs.org
<slot>Vue.js core teamMarks where parent-provided content is rendered.https://vuejs.org
PropsVue.js core teamDeclared inputs a parent passes down to a child component.https://vuejs.org
Emits (events)Vue.js core teamChild components emit custom events to the parent.https://vuejs.org
v-model on componentsVue.js core teamTwo-way binding using defineModel or modelValue + update:modelValue.https://vuejs.org
provide / injectVue.js core teamPasses data from an ancestor to deep descendants without prop drilling.https://vuejs.org
defineAsyncComponentVue.js core teamDefines a component loaded lazily only when needed.https://vuejs.org
TransitionVue.js — CSS-Based TransitionsVue's built-in Transition component applies enter and leave animations to elements or components using CSS transitions, animations, or JavaScript hooks.https://vuejs.org/guide/built-ins/transition.html
TransitionGroupVue.js — Move TransitionsTransitionGroup animates insertion, removal, and position changes of keyed elements or components rendered in a list.https://vuejs.org/guide/built-ins/transition-group.html
KeepAliveVue.js — Max Cached InstancesKeepAlive caches inactive component instances when switching between dynamic components and supports cache selection and maximum cache size.https://vuejs.org/guide/built-ins/keep-alive.html
TeleportVue.js — Disabling TeleportTeleport renders part of a component's template into a DOM node outside its normal DOM hierarchy while retaining its logical component relationship.https://vuejs.org/guide/built-ins/teleport.html
SuspenseVue.js — Loading StateSuspense coordinates asynchronous dependencies in a component tree and can display fallback content while the default content is waiting to resolve.https://vuejs.org/guide/built-ins/suspense.html
Built-in components APIVue.js — Built-in Components ReferenceThe official Vue API reference describes built-in components including Transition, TransitionGroup, KeepAlive, Teleport, and Suspense.https://vuejs.org/api/built-in-components.html
Built-in special elementsVue.js — Dynamic Component and Slot ElementsVue defines the special template elements component, slot, and template, which have dedicated framework-level behavior.https://vuejs.org/api/built-in-special-elements.html
Components BasicsVue.js — Dynamic ComponentsThe official guide introduces component definitions, component usage, props, events, slots, and dynamic component switching.https://vuejs.org/guide/essentials/component-basics.html
PropsVue.js — Prop ValidationProps provide a declared interface for passing data from a parent component to a child component, with support for types, defaults, and validation.https://vuejs.org/guide/components/props.html
Component EventsVue.js — Emitting and Listening to EventsVue components can emit custom events and allow parent components to listen to those events using component event listeners.https://vuejs.org/guide/components/events.html
Component v-modelVue.js — defineModel()Component v-model supports two-way bindings between parent and child components, and defineModel() is the recommended implementation approach in modern Vue.https://vuejs.org/guide/components/v-model.html
SlotsVue.js — Named SlotsSlots allow parent components to provide template content to child components and support default, named, and scoped slots.https://vuejs.org/guide/components/slots.html

Entries

<Transition>

Applies enter/leave animations to a single element or component.

Open entry

Props

Declared inputs a parent passes down to a child component.

Open entry

<component :is>

Special element for rendering dynamic components.

Open entry

Transition

Transition supports a single transitioning element or component and automatically applies enter and leave transition classes when appropriate.

Open entry

Components Basics

Vue components divide a user interface into reusable, independently defined pieces and can be composed into larger component trees.

Open entry

Guides

오늘 같이 보면 좋은 도구