Props

Last updated

What is Props?

If we are building a blog, we will likely need a component representing a blog post. We want all the blog posts to share the same visual layout, but with different content. Such a component won't be useful unless you can pass data to it, such as the title and content of the specific post we want to display. That's where props come in.

Props are custom attributes you can register on a component.

Free resources to learn Props

More in stage 2: Components

Props: common questions

Can I learn Props in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Props in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Props tutorial for beginners?

It is lesson 9 of 84 in the free Vue roadmap, in stage 2, Components. If you are new to Vue, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me