Skip to content

Scroll Section

The ScrollSection component allows content to be organized into scrollable sections, ideal for page navigation, storytelling, or section-based layouts.

  • Sticky navigation: Sections remain accessible while scrolling.
  • Dynamic content: Supports multiple scrollable sections with unique IDs.
  • Flexible layout: Works with cards, panels, or full-page sections.
  • Customizable styling: Supports inline styles and theming.
  • Integrates with reactive data: Can display dynamically generated sections.

Section 1

Section 2

Section 3

Section 4

Section 5

Section 6

Section 7

Section 8

Section 9

Section 10

Section 11

Section 12

Section 13

Section 14

Section 15

Section 16

Section 17

Section 18

Section 19

Section 20

Section 21

Section 22

Section 23

Section 24

Section 25

PropTypeDefaultDescription
dataarray[]Array of section objects to render in the scrollable area.
stylestringInline styles for layout or positioning.
classstringOptional CSS classes for custom styling.
idstringOptional unique identifier for the scroll section.
PropTypeDefaultDescription
idstringUnique ID for the content section, used for navigation.
stylestringInline styles for individual section content.
classstringOptional CSS classes for styling.
  • Use unique IDs for each section to enable navigation or linking.
  • Keep section content focused to enhance readability while scrolling.
  • Use consistent styling for headers and spacing between sections.
  • Combine with sticky navigation bars or progress indicators for better UX.
  • Avoid overly long sections that may impact scroll performance.