Reusable behaviors for common UI patterns. Each behavior can be installed on any element.
Drag the box around the container.
Click items to remove them.
Only the close button removes the notification (not clicking the content).
Click to toggle states.
This is the content of section 1. It can contain any HTML.
This is the content of section 2. More content here.
Drag items to reorder them.
Drag the corner to resize the box.
Click to copy text to clipboard. Visual feedback on the button.
npm install @hyperfixi/behaviors
These toasts auto-dismiss after a delay. Hover to pause the countdown.
Accessible tabs with keyboard navigation. Use arrow keys, Home, and End.
LokaScript behaviors are reusable, tree-shakeable UI patterns. Install them on any element with _="install BehaviorName".
tabs:change eventParameters: orientation, activeTab, wrap, activeClass
Events: tabs:change (cancelable), tabs:changed
Scroll down in the container to reveal items as they enter the viewport.
Scroll down to see items appear...