Documentation
v.1.6.1
GETTING STARTED
DYNAMIC ISLAND
Library
Dynamic island 001
Dynamic island 001 creates a floating, interactive menu that can expand to show additional content. This element follows the scroll progress on the page and provides an engaging way for users to interact with information. It can be positioned in various areas on the screen, and when expanded, it displays more content while dimming the background.
Preview
Open previewQuick Setup
data-scroll-island
Required
This attribute activates the floating island, enabling all associated animations and interactions.
data-expanded-content
Required
Marks a section within the island as content that only appears when the island is expanded. To use it, add the data-expanded-content attribute to a div inside your main island div. When the island expands, this content becomes visible and interactive, providing additional information or controls only accessible in the expanded view. The attribute initially keeps the content hidden with opacity: 0 and visibility: hidden, but once expanded, the area smoothly fades in.
Advanced configuration
data-position
Optional
Sets the initial position of the island on the screen, allowing flexible placement based on user preference.
Default: top-center
top-left
top-center
top-right
bottom-left
bottom-right
bottom-center
data-edge-margin
Optional
Determines the margin between the island and the screen edges, helping you adjust its distance from the viewport’s sides.
Default: 20
data-responsive-breakpoint
Optional
Sets the breakpoint in pixels for switching to a mobile layout, optimizing the island's appearance on smaller screens.
Default: 768
data-width-expand
Optional
Adjusts the width of the island when expanded, creating a more prominent display.
Default: 0.2
data-height-expand
Optional
Controls the height increase when the island expands, offering more vertical space for additional content.
Default: 0.5
data-mobile-height-expand
Optional
Sets the expansion height specifically for mobile devices, allowing you to customize for smaller screens.
data-overlay-duration
Optional
Specifies the transition duration for the overlay effect when the island is expanded, creating a smooth background dimming effect.
Default: 0.5
data-overlay-opacity
Optional
Controls the opacity of the background overlay during expansion, increasing or reducing the dim effect.
Default: 0.5
data-overlay-blur
Optional
Sets the blur effect for the background overlay, creating a subtle depth effect.
Default: 5
data-progress-color
Optional
Defines the color of the progress circle on the island, allowing brand alignment or design flexibility.
data-percentage-color
Optional
Sets the color of the percentage text displayed as the user scrolls, ensuring visibility and consistency with other UI elements.
We're here to help
Choose how you'd like to connect with our support team
Contact Support
Get help from our team of experts
Response within 24 hours