import { DemoStory } from '../../demo/demo-types'; import { Skeleton, SkeletonProps } from './skeleton'; import { SkeletonCard } from './skeleton-card'; export const skeletonDemo: DemoStory = { id: 'skeleton', text: 'Skeleton', args: { width: '100%', height: '24px', circle: false, animated: true, }, argTypes: { width: { control: 'text', description: 'Width of the skeleton' }, height: { control: 'text', description: 'Height of the skeleton' }, circle: { control: 'boolean', description: 'Render as a circle' }, animated: { control: 'boolean', description: 'Enable pulse animation' }, }, render: (args) => { return (

Interactive Skeleton

Card Example (Dynamic Height)

The SkeletonCard automatically fills available vertical space with skeleton lines. Resize the browser to see it adapt!

); }, code: `import { Skeleton } from 'lupine.components/component-pool'; // Basic Line // Circle (Avatar) // Static (No animation) // Dynamic Auto-filling Card `, };