keys
Handle keyboard input events from users. Detect when specific keys are pressed and respond with custom actions like running code blocks, navigating to different sections, or toggling between states. Supports common keys including arrow keys, enter, escape, space, and delete keys.
Area: 🎨 UI & Presentation
Available Actions
This set contains 10 actions:
- delete-key
- down-key
- enable-shell-shortcut
- enter-key
- escape-key
- key
- left-key
- right-key
- space-key
- up-key
Getting Started
To use actions from this set in your Rhyme app, you’ll reference them by their full name. For example:
delete-key "Example usage"
Each action has its own specific syntax and parameters - click on any action above to see its detailed documentation.
Common Use Cases
- Creating visual elements and layouts
- Styling and theming your app
- Adding interactive UI components