Command Palette
Search for a command to run
Command Palette
Search for a command to run

useUIState

✓ Relevant

useUIState hook: read/update client-side UI state (functions, React nodes, data) as visual representation of AI state; returns [state, setState] array; RSC experimental, use AI SDK UI for production.