React
React PropsReact Props
Props pass data from a parent component to a child component.
Read Time
5 min readDifficulty
BeginnerLast Updated
Jun 15, 2026Version
v1.0.0Introduction
Props are custom HTML attributes for React components. If you build a Profile component, you can use props to pass different names to it. Props are strictly read-only; the child component cannot change them.
Example
Example
Key Points
- "Props" stands for properties.
- They pass data downwards through the component tree.
- They act just like function arguments.
- A component must never modify its own props.