Interaction events
Start interactions on clicks, hover, keys, scroll, view, forms, page changes, states and member login events.
Every interaction starts on an event. Divhunt offers element events (click, hover, focus, input), viewport events (view, intersect, while scrolling), page events (preload, ready, load, unload), form events and membership events. Many events have their own settings, for example hover delays, intersect thresholds or the keys to listen for. This lets one system cover simple hover effects as well as full UI logic.
How it works
- Element/page events: On Preload, On Ready, On Load, On Scroll, On Resize, On Blur, On Focus, On Click, On Double Click, On Hover, On Pointer, On Intersect, On State, On Outside Press, On Key, On Input, On Change, On Submit, On View, While Scrolling.
- Page events: On Page Unload, On Page Preload, On Page Ready, On Page Load. Components: On Components Render. Forms: On Form Submit, On Form Success, On Form Fail.
- Membership events: login, register, logout, Google sign-in, forgot password, reset password, resend verification, each with success and fail.
When to use it
- Close a dropdown on outside press or Escape
- Show a toast after a member logs in
- Trigger an animation when a section is 50% visible
Limitations
- Events that are not motion run the same with reduced motion; motion events degrade (see each event's 'reduced' rule).
Availability
- Works in Designer and MCP.
- Included in every plan.
How to use it.
- In an interaction, open the Event select.
- Choose the event and fill in its settings.
Questions.
Can I react to a successful form submit?
Related features.
Interactions
Build animations and behaviour without code: pick an event, then chain actions like animate, class, show/hide or scroll.
Interaction actions
Animate, toggle classes or attributes, show or hide, scroll, redirect, send HTTP requests, set cookies and more.
Named states
Set named states like menu-open or tab=2 that CSS, other interactions and conditions can read.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→