import { DemoStory } from '../demo/demo-types'; import { SlideTabComponent, SlideTabProps } from './slide-tab-component'; const samplePages = [ { title: 'Overview', content: (

Overview

This is the overview tab. It provides a summary of the content.

), }, { title: 'Details', content: (

Details

This is the details tab. It shows in-depth information.

The SlideTabComponent uses CSS scroll-snap for smooth, performant tab transitions without any animation libraries.

), }, { title: 'Settings', content: (

Settings

This is the settings tab. Configure options here.

), }, ]; export const slideTabDemo: DemoStory = { id: 'slide-tab-demo', text: 'Slide Tab', args: { pages: samplePages, }, render: (args: SlideTabProps) => { return (
); }, code: `import { SlideTabComponent } from 'lupine.components/components/slide-tab-component'; const pages = [ { title: 'Tab 1', content:
Content for Tab 1
}, { title: 'Tab 2', content:
Content for Tab 2
}, { title: 'Tab 3', content:
Content for Tab 3
}, ]; `, };