State
State is data inside a component that changes over time, like whether a menu is open or what has been typed in a field.
Definition
State is data inside a component that changes over time, like whether a menu is open or what has been typed in a field.
Use case
When state changes, the interface updates to match. Open dropdowns, form values and selected tabs are all state.
Related terms
Documentation
Quick Start
Has a clear section on state and how it makes a component interactive.