Skip to main contentCrate reratui_hooks
Source pub use reratui_panic as panic_handler;
- area
- Component Area Hook - Access to component’s render area
- callback
- context
- Beautiful Context Provider API for sharing state between components
- effect
- effect_event
- Effect Event Hook - Stable callbacks that always call the latest handler
- event
- Event context for sharing events between components
- form
- Form management hook with validation
- frame
- Frame Hook - Access to the current ratatui Frame
- future
- hook_context
- interval
- Professional interval hooks for periodic execution
- keyboard
- Keyboard event hook
- mouse
- Mouse event hook
- reducer
- React-style useReducer hook for state management with actions
- ref_hook
- Ref Hook - Mutable references that persist across renders without triggering re-renders
- resize
- Resize event hook for detecting terminal size changes
- state
- use_id
- use_id hook - Generates unique IDs for components