peek-carousel 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,32 +4,40 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <title>PeekCarousel — JavaScript Carousel Demo and Layouts</title>
7
- <meta name="description" content="Explore PeekCarousel, a dependency-free JavaScript image carousel with Stack, Radial, Classic and Fan shape layouts. Try navigation, playback and CSS themes.">
7
+ <meta name="description" content="Explore four JavaScript carousel layouts: Stack, Radial, Classic and Fan shape. Try touch, keyboard, playback and CSS themes. No runtime dependencies.">
8
8
  <meta name="robots" content="index, follow, max-image-preview:large">
9
- <meta name="theme-color" content="#f6f5f1">
9
+ <meta name="theme-color" content="#ffffff">
10
10
  <meta property="og:type" content="website">
11
11
  <meta property="og:site_name" content="PeekCarousel">
12
12
  <meta property="og:locale" content="en_US">
13
13
  <meta property="og:url" content="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
14
14
  <meta property="og:title" content="PeekCarousel — JavaScript Carousel Demo and Layouts">
15
- <meta property="og:description" content="Explore PeekCarousel, a dependency-free JavaScript image carousel with Stack, Radial, Classic and Fan shape layouts. Try navigation, playback and CSS themes.">
15
+ <meta property="og:description" content="Explore four JavaScript carousel layouts: Stack, Radial, Classic and Fan shape. Try touch, keyboard, playback and CSS themes. No runtime dependencies.">
16
16
  <meta property="og:image" content="https://lledellebell.github.io/peek-carousel/public/assets/share_image.png">
17
17
  <meta property="og:image:type" content="image/png">
18
18
  <meta property="og:image:width" content="1200">
19
19
  <meta property="og:image:height" content="720">
20
- <meta property="og:image:alt" content="PeekCarousel playground with Fan shape cards, layout playground__settings and playback controls">
20
+ <meta property="og:image:alt" content="PeekCarousel on a white background with blue controls and image cards">
21
21
  <meta name="twitter:card" content="summary_large_image">
22
22
  <meta name="twitter:title" content="PeekCarousel — JavaScript Carousel Demo and Layouts">
23
- <meta name="twitter:description" content="Explore PeekCarousel, a dependency-free JavaScript image carousel with Stack, Radial, Classic and Fan shape layouts. Try navigation, playback and CSS themes.">
23
+ <meta name="twitter:description" content="Explore four JavaScript carousel layouts: Stack, Radial, Classic and Fan shape. Try touch, keyboard, playback and CSS themes. No runtime dependencies.">
24
24
  <meta name="twitter:image" content="https://lledellebell.github.io/peek-carousel/public/assets/share_image.png">
25
- <meta name="twitter:image:alt" content="PeekCarousel playground with Fan shape cards, layout playground__settings and playback controls">
25
+ <meta name="twitter:image:alt" content="PeekCarousel on a white background with blue controls and image cards">
26
26
  <link rel="canonical" href="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
27
- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html","url":"https://lledellebell.github.io/peek-carousel/examples/example-built.html","name":"PeekCarousel — JavaScript Carousel Demo and Layouts","description":"Explore PeekCarousel, a dependency-free JavaScript image carousel with Stack, Radial, Classic and Fan shape layouts. Try navigation, playback and CSS themes.","inLanguage":"en","mainEntity":{"@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source"}},{"@type":"SoftwareSourceCode","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source","name":"PeekCarousel","description":"Explore PeekCarousel, a dependency-free JavaScript image carousel with Stack, Radial, Classic and Fan shape layouts. Try navigation, playback and CSS themes.","codeRepository":"https://github.com/lledellebell/peek-carousel","programmingLanguage":"JavaScript","runtimePlatform":"Web browser","license":"https://opensource.org/license/mit/","url":"https://github.com/lledellebell/peek-carousel"}]}</script>
28
- <link rel="preload" href="../public/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin="anonymous">
27
+ <link rel="alternate" hreflang="en" href="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
28
+ <link rel="alternate" hreflang="ja" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ja.html">
29
+ <link rel="alternate" hreflang="ko" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ko.html">
30
+ <link rel="alternate" hreflang="x-default" href="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
31
+ <meta property="og:locale:alternate" content="ja_JP">
32
+ <meta property="og:locale:alternate" content="ko_KR">
33
+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html","url":"https://lledellebell.github.io/peek-carousel/examples/example-built.html","name":"PeekCarousel — JavaScript Carousel Demo and Layouts","description":"Explore four JavaScript carousel layouts: Stack, Radial, Classic and Fan shape. Try touch, keyboard, playback and CSS themes. No runtime dependencies.","inLanguage":"en","mainEntity":{"@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source"}},{"@type":"SoftwareSourceCode","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source","name":"PeekCarousel","description":"Explore four JavaScript carousel layouts: Stack, Radial, Classic and Fan shape. Try touch, keyboard, playback and CSS themes. No runtime dependencies.","codeRepository":"https://github.com/lledellebell/peek-carousel","programmingLanguage":"JavaScript","runtimePlatform":"Web browser","license":"https://github.com/lledellebell/peek-carousel/blob/master/LICENSE","url":"https://github.com/lledellebell/peek-carousel"}]}</script>
34
+ <link rel="preload" href="../public/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin="anonymous">
29
35
  <link rel="stylesheet" href="../public/fonts/inter-latin.css">
36
+
30
37
  <link rel="icon" href="../public/favicon-32x32.png">
31
38
  <link rel="stylesheet" href="../dist/peek-carousel.min.css">
32
39
  <link rel="stylesheet" href="./example.min.css">
40
+
33
41
  </head>
34
42
  <body class="preview">
35
43
  <a class="preview__skip" href="#demo-carousel">Skip to playground</a>
@@ -40,13 +48,18 @@
40
48
  <a href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">Docs <span aria-hidden="true">↗</span></a>
41
49
  <a href="https://github.com/lledellebell/peek-carousel">GitHub <span aria-hidden="true">↗</span></a>
42
50
  </nav>
51
+ <nav class="preview__languages" aria-label="Choose language">
52
+ <a href="./example-built.html" lang="en" hreflang="en" aria-label="EN — English" aria-current="page">EN</a>
53
+ <a href="./example-built.ja.html" lang="ja" hreflang="ja" aria-label="日本語">日本語</a>
54
+ <a href="./example-built.ko.html" lang="ko" hreflang="ko" aria-label="한국어">한국어</a>
55
+ </nav>
43
56
  </header>
44
57
  <main>
45
58
  <section class="preview__hero" aria-labelledby="hero-title">
46
- <p class="preview__eyebrow"><span class="preview__status" aria-hidden="true"></span> SMALL LIBRARY. A LITTLE MORE CHARACTER.</p>
47
- <h1 id="hero-title">PeekCarousel.<br><span>A different perspective.</span></h1>
59
+ <p class="preview__eyebrow"><span class="preview__status" aria-hidden="true"></span> A SMALL LIBRARY. A NEW PERSPECTIVE.</p>
60
+ <h1 id="hero-title">PeekCarousel.<br><span>Make room for the next.</span></h1>
48
61
  <div class="preview__intro">
49
- <p>A dependency-free JavaScript image carousel.<br>Explore Stack, Radial, Classic and Fan shape layouts.</p>
62
+ <p>A little motion. A lot of possibility.<br>Four layouts. No dependencies. Your next gallery starts here.</p>
50
63
  <a class="preview__link" href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md#installation">Make it yours <span aria-hidden="true">↗</span></a>
51
64
  </div>
52
65
  <nav class="preview__links" aria-label="Playground guide"><a href="#carousel-layouts">Compare layouts</a><a href="#getting-started">Starter code</a><a href="#carousel-questions">Questions</a></nav>
@@ -54,18 +67,18 @@
54
67
  <section class="playground" aria-labelledby="playground-title">
55
68
  <div class="playground__preview">
56
69
  <div class="playground__toolbar">
57
- <h2 class="preview__eyebrow" id="playground-title">CAROUSEL PLAYGROUND</h2>
70
+ <h2 class="preview__eyebrow" id="playground-title">THE PLAYGROUND</h2>
58
71
  <span class="playground__live"><span class="preview__status" aria-hidden="true"></span> Live preview</span>
59
72
  </div>
60
73
  <noscript><p>The interactive preview needs JavaScript. Layout descriptions and starter code are available below.</p></noscript>
61
74
  <div class="playground__stage" id="playground-stage" tabindex="-1">
62
75
  <p class="playground__label" data-layout-label>01 / STACK</p>
63
- <div class="peek-carousel" id="demo-carousel" tabindex="0" role="region" aria-label="Image gallery" aria-roledescription="carousel" aria-describedby="gallery-help">
76
+ <div class="peek-carousel" id="demo-carousel" tabindex="0" role="region" aria-label="Image gallery" aria-roledescription="carousel" data-demo-a11y="{&quot;slide&quot;:&quot;slide&quot;,&quot;position&quot;:&quot;{current} of {total}&quot;,&quot;show&quot;:&quot;Show slide {current} of {total}&quot;,&quot;choose&quot;:&quot;Choose a slide&quot;,&quot;previous&quot;:&quot;Previous slide&quot;,&quot;next&quot;:&quot;Next slide&quot;,&quot;start&quot;:&quot;Start automatic slide rotation&quot;,&quot;stop&quot;:&quot;Stop automatic slide rotation&quot;}" aria-describedby="gallery-help">
64
77
  <div class="peek-carousel__track">
65
78
  <div class="peek-carousel__item">
66
79
  <figure class="peek-carousel__figure">
67
80
  <img class="peek-carousel__image" src="https://picsum.photos/id/1015/650/490.webp" alt="Rocky mountains above a blue fjord" width="650" height="490">
68
- <figcaption class="peek-carousel__caption"><span class="preview__caption_title">The quiet between</span><span class="preview__caption_subtitle">Rock, water & open skies</span></figcaption>
81
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">The quiet between</span><span class="preview__caption_subtitle">Rock, water &amp; open skies</span></figcaption>
69
82
  </figure>
70
83
  </div>
71
84
  <div class="peek-carousel__item">
@@ -99,14 +112,14 @@
99
112
  <p class="playground__description" data-layout-description aria-live="polite">A familiar stack. A little room for discovery.</p>
100
113
  </div>
101
114
  <aside class="playground__settings" aria-labelledby="settings-title">
102
- <p class="preview__eyebrow">MAKE IT MOVE</p>
103
- <h2 id="settings-title">Same images.<br>Different energy.</h2>
104
- <p class="playground__settings_intro">Pick a layout. Find your flow.</p>
115
+ <p class="preview__eyebrow">FIND YOUR FLOW</p>
116
+ <h2 id="settings-title">One gallery. Four ways.</h2>
117
+ <p class="playground__settings_intro">Choose a layout. See what moves you.</p>
105
118
  <div class="playground__layout_picker" role="group" aria-label="Layout mode selection">
106
- <button type="button" class="playground__layout" data-layout="stack" aria-pressed="true"><span class="playground__layout_mark" aria-hidden="true">▱</span><span>Stack</span><span class="playground__layout_number" aria-hidden="true">01</span></button>
107
- <button type="button" class="playground__layout" data-layout="radial" aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">◉</span><span>Radial</span><span class="playground__layout_number" aria-hidden="true">02</span></button>
108
- <button type="button" class="playground__layout" data-layout="classic" aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">▤</span><span>Classic</span><span class="playground__layout_number" aria-hidden="true">03</span></button>
109
- <button type="button" class="playground__layout" data-layout="fan" aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">⤴</span><span>Fan shape</span><span class="playground__layout_number" aria-hidden="true">04</span></button>
119
+ <button type="button" class="playground__layout" data-layout="stack" data-description="A familiar stack. A little room for discovery." aria-pressed="true"><span class="playground__layout_mark" aria-hidden="true">▱</span><span>Stack</span><span class="playground__layout_number" aria-hidden="true">01</span></button>
120
+ <button type="button" class="playground__layout" data-layout="radial" data-description="A new perspective, with every turn." aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">◉</span><span>Radial</span><span class="playground__layout_number" aria-hidden="true">02</span></button>
121
+ <button type="button" class="playground__layout" data-layout="classic" data-description="A simple rhythm. One frame at a time." aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">▤</span><span>Classic</span><span class="playground__layout_number" aria-hidden="true">03</span></button>
122
+ <button type="button" class="playground__layout" data-layout="fan" data-description="Spread out the possibilities. Find your next view." aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">⤴</span><span>Fan shape</span><span class="playground__layout_number" aria-hidden="true">04</span></button>
110
123
  </div>
111
124
  <fieldset class="playground__toggles"><legend>THE LITTLE DETAILS</legend>
112
125
  <label class="playground__toggle" for="show-navigation"><span>Arrow navigation</span><input type="checkbox" role="switch" id="show-navigation" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
@@ -118,14 +131,14 @@
118
131
  </aside>
119
132
  </section>
120
133
  <section class="preview__layouts" id="carousel-layouts" aria-labelledby="layouts-title">
121
- <div class="preview__section_intro"><p class="preview__eyebrow">PICK YOUR PERSPECTIVE</p><h2 id="layouts-title">Four JavaScript carousel layouts.</h2><p>Use the <code>layoutMode</code> option to choose a layout. All four support looping navigation, touch, mouse and playback controls.</p></div>
122
- <div class="preview__layout_grid"><article id="layout-stack"><h3>Stack</h3><p>Overlapping cards keep the current image prominent while its neighbors peek out from either side.</p><code>layoutMode: 'stack'</code></article>
134
+ <div class="preview__section_intro"><p class="preview__eyebrow">SAME CONTENT. NEW CHARACTER.</p><h2 id="layouts-title">Four JavaScript carousel layouts.</h2><p>Choose a layout with layoutMode. Every layout supports looping navigation, touch, mouse and playback controls.</p></div>
135
+ <div class="preview__layout_grid"><article id="layout-stack"><h3>Stack</h3><p>Overlapping cards keep the current image prominent while neighbors peek out from either side.</p><code>layoutMode: 'stack'</code></article>
123
136
  <article id="layout-radial"><h3>Radial</h3><p>Cards rotate around a three-dimensional ring, bringing the selected image to the front.</p><code>layoutMode: 'radial'</code></article>
124
137
  <article id="layout-classic"><h3>Classic</h3><p>Images move horizontally in a familiar, continuously wrapping slider.</p><code>layoutMode: 'classic'</code></article>
125
- <article id="layout-fan"><h3>Fan shape</h3><p>Up to five cards form a fan. Edge cards recycle behind the foreground cards without a fade-in effect.</p><code>layoutMode: 'fan'</code></article></div>
138
+ <article id="layout-fan"><h3>Fan shape</h3><p>Up to five cards form a fan. Edge cards move behind the foreground cards without fading in.</p><code>layoutMode: 'fan'</code></article></div>
126
139
  </section>
127
140
  <section class="preview__usage" id="getting-started" aria-labelledby="usage-title">
128
- <div><p class="preview__eyebrow">LESS SETUP. MORE PLAY.</p><h2 id="usage-title">Start your JavaScript carousel.</h2><p>Add a <code>.peek-carousel__track</code> and <code>.peek-carousel__item</code> elements inside <code>#gallery-carousel</code>. Load the CSS and initialize once the markup is in the DOM.</p><a class="preview__link" href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">Explore the docs <span aria-hidden="true">↗</span></a></div>
141
+ <div><p class="preview__eyebrow">LESS SETUP. MORE PLAY.</p><h2 id="usage-title">A few lines. Endless possibilities.</h2><p>Add .peek-carousel__track and .peek-carousel__item elements inside #gallery-carousel. Load the CSS and initialize after the markup is in the DOM.</p><a class="preview__link" href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">Explore the docs <span aria-hidden="true">↗</span></a></div>
129
142
  <figure class="preview__code"><figcaption class="preview__code_heading">your-next-gallery.js</figcaption><pre tabindex="0" role="region" aria-label="JavaScript starter example"><code data-demo-code>import PeekCarousel from 'peek-carousel';
130
143
  import 'peek-carousel/dist/peek-carousel.css';
131
144
 
@@ -135,19 +148,19 @@ new PeekCarousel('#gallery-carousel', {
135
148
  });</code></pre></figure>
136
149
  </section>
137
150
  <section class="preview__questions" id="carousel-questions" aria-labelledby="questions-title">
138
- <div class="preview__section_intro"><p class="preview__eyebrow">A FEW USEFUL ANSWERS</p><h2 id="questions-title">About PeekCarousel.</h2></div>
151
+ <div class="preview__section_intro"><p class="preview__eyebrow">GOOD TO KNOW</p><h2 id="questions-title">A few useful answers.</h2></div>
139
152
  <dl>
140
- <div><dt>Does PeekCarousel need React or another framework?</dt><dd>No. PeekCarousel is a vanilla JavaScript library with no runtime dependencies. It provides ES module, CommonJS and browser UMD builds.</dd></div>
141
- <div><dt>Can I use TypeScript or a Python/Go web project?</dt><dd>TypeScript projects can use the included option and instance declarations with ESM, CommonJS or bundlers. Python, Go and other web servers can serve the same browser JS/CSS. This is browser integration, not a native server-language API. See the <a href="https://github.com/lledellebell/peek-carousel/blob/master/docs/integrations.md">project integration guide</a>.</dd></div>
142
- <div><dt>Which controls can I try in this playground?</dt><dd>Drag, swipe or use the mouse wheel over the gallery. Focus the gallery for arrow keys, Home, End and Space. Toggle arrows, the counter, indicators and the playback button in the settings panel.</dd></div>
143
- <div><dt>Can I customize the carousel styles?</dt><dd>Yes. CSS custom properties control card corners, shadows, colors and controls. See the <a href="./custom-theme.html">CSS theme playground</a> for a separate integration example.</dd></div>
144
- <div><dt>Can I use PeekCarousel in a commercial project?</dt><dd>The library is <a href="https://github.com/lledellebell/peek-carousel/blob/master/LICENSE">MIT licensed</a>. The example photographs are provided by <a href="https://picsum.photos/">Lorem Picsum</a>; replace them with images you have permission to use.</dd></div>
145
- <div><dt>What remains available without JavaScript?</dt><dd>The layout descriptions and starter code on this page are static HTML. The interactive carousel and live controls require JavaScript.</dd></div>
153
+ <div><dt>Do I need React or another framework?</dt><dd>No. PeekCarousel is vanilla JavaScript with no runtime dependencies. ESM, CommonJS and browser UMD builds are included.</dd></div>
154
+ <div><dt>Can I use TypeScript or a Python/Go project?</dt><dd>TypeScript declarations are included. Other web servers can serve the same browser JavaScript and CSS; there is no native server-language API. <a href="https://github.com/lledellebell/peek-carousel/blob/master/docs/integrations.md">Integration guide</a></dd></div>
155
+ <div><dt>Which controls can I try?</dt><dd>Drag, swipe or use the mouse wheel. Focus the gallery for arrow keys, Home, End and Space. The settings panel toggles navigation, the counter, indicators and playback.</dd></div>
156
+ <div><dt>Can I customize the styles?</dt><dd>Yes. CSS custom properties control card corners, shadows, colors and controls. <a href="./custom-theme.html">CSS theme playground</a></dd></div>
157
+ <div><dt>Can I use it commercially?</dt><dd>Yes, in your own applications, with the required notices and clear attribution. Standalone redistribution of new covered library or template material requires permission. Existing MIT rights and image rights remain separate.</dd></div>
158
+ <div><dt>What works without JavaScript?</dt><dd>Layout descriptions, starter code, language links and these answers are static HTML. The interactive preview requires JavaScript.</dd></div>
146
159
  </dl>
147
- <p class="preview__sources">Check the <a href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">usage documentation</a> and <a href="https://github.com/lledellebell/peek-carousel">source repository</a> for API details and implementation.</p>
160
+ <p class="preview__sources"><a href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">Source and API documentation <span aria-hidden="true">↗</span></a></p>
148
161
  </section>
149
162
  </main>
150
- <footer class="preview__footer"><span>PeekCarousel <span class="preview__footer_note">— Built for the in-between.</span></span><span>Vanilla JavaScript · <a href="https://github.com/lledellebell/peek-carousel/blob/master/LICENSE">MIT license</a></span><small class="preview__copyright">© 2025 PeekCarousel · © 2026 PeekCarousel contributors. <a href="https://github.com/lledellebell/peek-carousel/blob/master/COPYRIGHT.md">Copyright &amp; permitted reuse</a> · <a href="https://github.com/lledellebell/peek-carousel/blob/master/THIRD_PARTY_NOTICES.md">Image rights &amp; credits</a></small></footer>
163
+ <footer class="preview__footer"><span>PeekCarousel <span class="preview__footer_note">— A little more perspective.</span></span><span>Vanilla JavaScript · <a href="https://github.com/lledellebell/peek-carousel/blob/master/LICENSE" >Application-use terms</a></span><small class="preview__copyright">© 2025 PeekCarousel · © 2026 PeekCarousel contributors. <a href="https://github.com/lledellebell/peek-carousel/blob/master/COPYRIGHT.md">Copyright & permitted reuse</a> · <a href="https://github.com/lledellebell/peek-carousel/blob/master/THIRD_PARTY_NOTICES.md">Image rights & credits</a></small></footer>
151
164
  <script src="../dist/peek-carousel.js"></script>
152
165
  <script src="./example.min.js"></script>
153
166
  </body>
@@ -0,0 +1,168 @@
1
+ <!doctype html>
2
+ <html lang="ja">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>PeekCarousel — JavaScript カルーセルのデモと4つのレイアウト</title>
7
+ <meta name="description" content="Stack・Radial・Classic・Fan shapeの4つのレイアウトを体験。タッチ操作、キーボード、自動再生、CSSテーマに対応した、依存ライブラリ不要のJavaScriptカルーセルです。">
8
+ <meta name="robots" content="index, follow, max-image-preview:large">
9
+ <meta name="theme-color" content="#ffffff">
10
+ <meta property="og:type" content="website">
11
+ <meta property="og:site_name" content="PeekCarousel">
12
+ <meta property="og:locale" content="ja_JP">
13
+ <meta property="og:url" content="https://lledellebell.github.io/peek-carousel/examples/example-built.ja.html">
14
+ <meta property="og:title" content="PeekCarousel — JavaScript カルーセルのデモと4つのレイアウト">
15
+ <meta property="og:description" content="Stack・Radial・Classic・Fan shapeの4つのレイアウトを体験。タッチ操作、キーボード、自動再生、CSSテーマに対応した、依存ライブラリ不要のJavaScriptカルーセルです。">
16
+ <meta property="og:image" content="https://lledellebell.github.io/peek-carousel/public/assets/share_image.png">
17
+ <meta property="og:image:type" content="image/png">
18
+ <meta property="og:image:width" content="1200">
19
+ <meta property="og:image:height" content="720">
20
+ <meta property="og:image:alt" content="白い背景に青いコントロールと写真カードを配置したPeekCarousel">
21
+ <meta name="twitter:card" content="summary_large_image">
22
+ <meta name="twitter:title" content="PeekCarousel — JavaScript カルーセルのデモと4つのレイアウト">
23
+ <meta name="twitter:description" content="Stack・Radial・Classic・Fan shapeの4つのレイアウトを体験。タッチ操作、キーボード、自動再生、CSSテーマに対応した、依存ライブラリ不要のJavaScriptカルーセルです。">
24
+ <meta name="twitter:image" content="https://lledellebell.github.io/peek-carousel/public/assets/share_image.png">
25
+ <meta name="twitter:image:alt" content="白い背景に青いコントロールと写真カードを配置したPeekCarousel">
26
+ <link rel="canonical" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ja.html">
27
+ <link rel="alternate" hreflang="en" href="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
28
+ <link rel="alternate" hreflang="ja" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ja.html">
29
+ <link rel="alternate" hreflang="ko" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ko.html">
30
+ <link rel="alternate" hreflang="x-default" href="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
31
+ <meta property="og:locale:alternate" content="en_US">
32
+ <meta property="og:locale:alternate" content="ko_KR">
33
+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.ja.html","url":"https://lledellebell.github.io/peek-carousel/examples/example-built.ja.html","name":"PeekCarousel — JavaScript カルーセルのデモと4つのレイアウト","description":"Stack・Radial・Classic・Fan shapeの4つのレイアウトを体験。タッチ操作、キーボード、自動再生、CSSテーマに対応した、依存ライブラリ不要のJavaScriptカルーセルです。","inLanguage":"ja","mainEntity":{"@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source"}},{"@type":"SoftwareSourceCode","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source","name":"PeekCarousel","description":"Stack・Radial・Classic・Fan shapeの4つのレイアウトを体験。タッチ操作、キーボード、自動再生、CSSテーマに対応した、依存ライブラリ不要のJavaScriptカルーセルです。","codeRepository":"https://github.com/lledellebell/peek-carousel","programmingLanguage":"JavaScript","runtimePlatform":"Web browser","license":"https://github.com/lledellebell/peek-carousel/blob/master/LICENSE","url":"https://github.com/lledellebell/peek-carousel"}]}</script>
34
+ <link rel="preload" href="../public/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin="anonymous">
35
+ <link rel="stylesheet" href="../public/fonts/inter-latin.css">
36
+ <link rel="preload" href="../public/fonts/noto-sans-ja.woff2" as="font" type="font/woff2" crossorigin="anonymous">
37
+ <link rel="stylesheet" href="../public/fonts/noto-sans-ja.css">
38
+ <link rel="icon" href="../public/favicon-32x32.png">
39
+ <link rel="stylesheet" href="../dist/peek-carousel.min.css">
40
+ <link rel="stylesheet" href="./example.min.css">
41
+
42
+ </head>
43
+ <body class="preview">
44
+ <a class="preview__skip" href="#demo-carousel">デモへ移動</a>
45
+ <header class="preview__header">
46
+ <a class="preview__brand" href="#"><span class="preview__brand_mark" aria-hidden="true">▱</span> PeekCarousel</a>
47
+ <nav class="preview__nav" aria-label="メインナビゲーション">
48
+ <a href="#playground-stage" aria-current="page">デモ</a>
49
+ <a href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">ドキュメント <span aria-hidden="true">↗</span></a>
50
+ <a href="https://github.com/lledellebell/peek-carousel">GitHub <span aria-hidden="true">↗</span></a>
51
+ </nav>
52
+ <nav class="preview__languages" aria-label="言語を選択">
53
+ <a href="./example-built.html" lang="en" hreflang="en" aria-label="EN — English">EN</a>
54
+ <a href="./example-built.ja.html" lang="ja" hreflang="ja" aria-label="日本語" aria-current="page">日本語</a>
55
+ <a href="./example-built.ko.html" lang="ko" hreflang="ko" aria-label="한국어">한국어</a>
56
+ </nav>
57
+ </header>
58
+ <main>
59
+ <section class="preview__hero" aria-labelledby="hero-title">
60
+ <p class="preview__eyebrow"><span class="preview__status" aria-hidden="true"></span> 小さなライブラリ。新しい視点。</p>
61
+ <h1 id="hero-title">PeekCarousel.<br><span>次の一枚に、余白を。</span></h1>
62
+ <div class="preview__intro">
63
+ <p>少しの動きで、広がる可能性。<br>4つのレイアウト。依存ライブラリ不要。次のギャラリーをここから。</p>
64
+ <a class="preview__link" href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md#installation">使ってみる <span aria-hidden="true">↗</span></a>
65
+ </div>
66
+ <nav class="preview__links" aria-label="デモのガイド"><a href="#carousel-layouts">レイアウト比較</a><a href="#getting-started">サンプルコード</a><a href="#carousel-questions">よくある質問</a></nav>
67
+ </section>
68
+ <section class="playground" aria-labelledby="playground-title">
69
+ <div class="playground__preview">
70
+ <div class="playground__toolbar">
71
+ <h2 class="preview__eyebrow" id="playground-title">カルーセルを体験</h2>
72
+ <span class="playground__live"><span class="preview__status" aria-hidden="true"></span> ライブプレビュー</span>
73
+ </div>
74
+ <noscript><p>操作するにはJavaScriptが必要です。レイアウトの説明とコード例はそのまま読めます。</p></noscript>
75
+ <div class="playground__stage" id="playground-stage" tabindex="-1">
76
+ <p class="playground__label" data-layout-label>01 / STACK</p>
77
+ <div class="peek-carousel" id="demo-carousel" tabindex="0" role="region" aria-label="写真ギャラリー" aria-roledescription="カルーセル" data-demo-a11y="{&quot;slide&quot;:&quot;スライド&quot;,&quot;position&quot;:&quot;全{total}枚中{current}枚目&quot;,&quot;show&quot;:&quot;全{total}枚中{current}枚目を表示&quot;,&quot;choose&quot;:&quot;スライドを選択&quot;,&quot;previous&quot;:&quot;前のスライド&quot;,&quot;next&quot;:&quot;次のスライド&quot;,&quot;start&quot;:&quot;自動再生を開始&quot;,&quot;stop&quot;:&quot;自動再生を停止&quot;}" aria-describedby="gallery-help">
78
+ <div class="peek-carousel__track">
79
+ <div class="peek-carousel__item">
80
+ <figure class="peek-carousel__figure">
81
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1015/650/490.webp" alt="青いフィヨルドの上にそびえる岩山" width="650" height="490">
82
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">静けさのあいだ</span><span class="preview__caption_subtitle">岩と水、広がる空</span></figcaption>
83
+ </figure>
84
+ </div>
85
+ <div class="peek-carousel__item">
86
+ <figure class="peek-carousel__figure">
87
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1018/650/490.webp" alt="霧の谷を囲む緑の崖" width="650" height="490">
88
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">ゆっくりと遠くへ</span><span class="preview__caption_subtitle">日常を少し離れて</span></figcaption>
89
+ </figure>
90
+ </div>
91
+ <div class="peek-carousel__item">
92
+ <figure class="peek-carousel__figure">
93
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1019/650/490.webp" alt="曇り空の下に広がる海岸の風景" width="650" height="490">
94
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">青の向こうへ</span><span class="preview__caption_subtitle">海岸線をたどって</span></figcaption>
95
+ </figure>
96
+ </div>
97
+ <div class="peek-carousel__item">
98
+ <figure class="peek-carousel__figure">
99
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1025/650/490.webp" alt="毛布に包まれたパグ" width="650" height="490">
100
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">大切な友だち</span><span class="preview__caption_subtitle">小さな瞬間、大きな個性</span></figcaption>
101
+ </figure>
102
+ </div>
103
+ <div class="peek-carousel__item">
104
+ <figure class="peek-carousel__figure">
105
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1035/650/490.webp" alt="流れる水のある自然の風景" width="650" height="490">
106
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">流れにまかせて</span><span class="preview__caption_subtitle">景色を楽しむ寄り道</span></figcaption>
107
+ </figure>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ <p class="playground__hint">ドラッグして探索 <span aria-hidden="true">⟷</span></p>
112
+ </div>
113
+ <p class="playground__description" data-layout-description aria-live="polite">重なりの先に、次の発見。</p>
114
+ </div>
115
+ <aside class="playground__settings" aria-labelledby="settings-title">
116
+ <p class="preview__eyebrow">自分らしい動きを</p>
117
+ <h2 id="settings-title">ひとつのギャラリー。4つの表情。</h2>
118
+ <p class="playground__settings_intro">レイアウトを選んで、動きを比べてみましょう。</p>
119
+ <div class="playground__layout_picker" role="group" aria-label="レイアウトの選択">
120
+ <button type="button" class="playground__layout" data-layout="stack" data-description="重なりの先に、次の発見。" aria-pressed="true"><span class="playground__layout_mark" aria-hidden="true">▱</span><span>Stack</span><span class="playground__layout_number" aria-hidden="true">01</span></button>
121
+ <button type="button" class="playground__layout" data-layout="radial" data-description="回すたびに、新しい視点。" aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">◉</span><span>Radial</span><span class="playground__layout_number" aria-hidden="true">02</span></button>
122
+ <button type="button" class="playground__layout" data-layout="classic" data-description="一枚ずつ、心地よいリズム。" aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">▤</span><span>Classic</span><span class="playground__layout_number" aria-hidden="true">03</span></button>
123
+ <button type="button" class="playground__layout" data-layout="fan" data-description="扇のように広がる、次の景色。" aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">⤴</span><span>Fan shape</span><span class="playground__layout_number" aria-hidden="true">04</span></button>
124
+ </div>
125
+ <fieldset class="playground__toggles"><legend>細部を調整</legend>
126
+ <label class="playground__toggle" for="show-navigation"><span>左右の矢印</span><input type="checkbox" role="switch" id="show-navigation" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
127
+ <label class="playground__toggle" for="show-counter"><span>スライド枚数</span><input type="checkbox" role="switch" id="show-counter" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
128
+ <label class="playground__toggle" for="show-indicators"><span>進行インジケーター</span><input type="checkbox" role="switch" id="show-indicators" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
129
+ <label class="playground__toggle" for="show-auto-rotate-button"><span>再生ボタン</span><input type="checkbox" role="switch" id="show-auto-rotate-button" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
130
+ </fieldset>
131
+ <details class="playground__help"><summary>いろいろな操作に対応 <span aria-hidden="true">+</span></summary><p id="gallery-help">カードをドラッグまたはスワイプできます。ギャラリー上でホイール操作、フォーカス中は← / →で移動。Home / Endで最初・最後へ、Spaceで再生を切り替えます。ポインターやフォーカスが入ると自動再生は停止します。</p></details>
132
+ </aside>
133
+ </section>
134
+ <section class="preview__layouts" id="carousel-layouts" aria-labelledby="layouts-title">
135
+ <div class="preview__section_intro"><p class="preview__eyebrow">同じコンテンツに、新しい表情を。</p><h2 id="layouts-title">4つのJavaScriptカルーセル。</h2><p>layoutModeでレイアウトを選択。すべてのレイアウトで循環移動、タッチ、マウス、再生操作に対応します。</p></div>
136
+ <div class="preview__layout_grid"><article id="layout-stack"><h3>Stack</h3><p>重なったカードが現在の写真を引き立て、左右に隣の写真がのぞきます。</p><code>layoutMode: 'stack'</code></article>
137
+ <article id="layout-radial"><h3>Radial</h3><p>立体的なリングの上をカードが回り、選んだ写真を手前に表示します。</p><code>layoutMode: 'radial'</code></article>
138
+ <article id="layout-classic"><h3>Classic</h3><p>写真が横方向に移動する、なじみのある循環型スライダーです。</p><code>layoutMode: 'classic'</code></article>
139
+ <article id="layout-fan"><h3>Fan shape</h3><p>最大5枚のカードが扇状に並びます。端のカードはフェードせず、手前のカードの背後を移動します。</p><code>layoutMode: 'fan'</code></article></div>
140
+ </section>
141
+ <section class="preview__usage" id="getting-started" aria-labelledby="usage-title">
142
+ <div><p class="preview__eyebrow">設定は少なく、楽しさは多く。</p><h2 id="usage-title">数行から、広がる可能性。</h2><p>#gallery-carouselの中に.peek-carousel__trackと.peek-carousel__itemを配置。CSSを読み込み、DOMの準備後に初期化します。</p><a class="preview__link" href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">ドキュメントを読む <span aria-hidden="true">↗</span></a></div>
143
+ <figure class="preview__code"><figcaption class="preview__code_heading">your-next-gallery.js</figcaption><pre tabindex="0" role="region" aria-label="JavaScriptのコード例"><code data-demo-code>import PeekCarousel from 'peek-carousel';
144
+ import 'peek-carousel/dist/peek-carousel.css';
145
+
146
+ new PeekCarousel('#gallery-carousel', {
147
+ layoutMode: 'stack',
148
+ startIndex: 0,
149
+ });</code></pre></figure>
150
+ </section>
151
+ <section class="preview__questions" id="carousel-questions" aria-labelledby="questions-title">
152
+ <div class="preview__section_intro"><p class="preview__eyebrow">使う前に</p><h2 id="questions-title">よくある質問。</h2></div>
153
+ <dl>
154
+ <div><dt>Reactなどのフレームワークは必要ですか?</dt><dd>不要です。依存ライブラリのないJavaScriptライブラリです。ESM、CommonJS、ブラウザー用UMDを提供します。</dd></div>
155
+ <div><dt>TypeScriptやPython・Goのプロジェクトで使えますか?</dt><dd>TypeScriptの型定義を同梱しています。他のWebサーバーからも同じブラウザー用JavaScriptとCSSを配信できます。サーバー言語専用のAPIではありません。 <a href="https://github.com/lledellebell/peek-carousel/blob/master/docs/integrations.md">プロジェクトへの組み込み</a></dd></div>
156
+ <div><dt>どんな操作を試せますか?</dt><dd>ドラッグ、スワイプ、ホイール操作に対応。フォーカス中は矢印キー、Home、End、Spaceも使えます。設定で各コントロールの表示を切り替えられます。</dd></div>
157
+ <div><dt>見た目をカスタマイズできますか?</dt><dd>はい。CSS変数でカードの角丸、影、色、コントロールを変更できます。 <a href="./custom-theme.ja.html">CSSテーマのデモ</a></dd></div>
158
+ <div><dt>商用利用はできますか?</dt><dd>はい。出所と必要な表示を保持すれば、ご自身のアプリで商用利用できます。新規資料のライブラリやテンプレート自体の再配布には許可が必要です。既存のMITと写真の権利は維持されます。</dd></div>
159
+ <div><dt>JavaScriptが無効でも読めますか?</dt><dd>レイアウトの説明、コード例、言語リンク、質問と回答は静的HTMLです。操作できるプレビューにはJavaScriptが必要です。</dd></div>
160
+ </dl>
161
+ <p class="preview__sources"><a href="https://github.com/lledellebell/peek-carousel/blob/master/README.en.md">ソースとAPIドキュメント <span aria-hidden="true">↗</span></a></p>
162
+ </section>
163
+ </main>
164
+ <footer class="preview__footer"><span>PeekCarousel <span class="preview__footer_note">— 視点を、少し広げよう。</span></span><span>Vanilla JavaScript · <a href="https://github.com/lledellebell/peek-carousel/blob/master/LICENSE" >アプリ利用条件</a></span><small class="preview__copyright">© 2025 PeekCarousel · © 2026 PeekCarousel contributors. <a href="https://github.com/lledellebell/peek-carousel/blob/master/COPYRIGHT.md">著作権と再利用条件</a> · <a href="https://github.com/lledellebell/peek-carousel/blob/master/THIRD_PARTY_NOTICES.md">画像の権利とクレジット</a></small></footer>
165
+ <script src="../dist/peek-carousel.js"></script>
166
+ <script src="./example.min.js"></script>
167
+ </body>
168
+ </html>
@@ -0,0 +1,167 @@
1
+ <!doctype html>
2
+ <html lang="ko">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>PeekCarousel — JavaScript 캐러셀 데모와 4가지 레이아웃</title>
7
+ <meta name="description" content="Stack·Radial·Classic·Fan shape 레이아웃을 직접 체험하세요. 터치, 키보드, 자동 재생과 CSS 테마를 지원하는 런타임 의존성 없는 JavaScript 캐러셀입니다.">
8
+ <meta name="robots" content="index, follow, max-image-preview:large">
9
+ <meta name="theme-color" content="#ffffff">
10
+ <meta property="og:type" content="website">
11
+ <meta property="og:site_name" content="PeekCarousel">
12
+ <meta property="og:locale" content="ko_KR">
13
+ <meta property="og:url" content="https://lledellebell.github.io/peek-carousel/examples/example-built.ko.html">
14
+ <meta property="og:title" content="PeekCarousel — JavaScript 캐러셀 데모와 4가지 레이아웃">
15
+ <meta property="og:description" content="Stack·Radial·Classic·Fan shape 레이아웃을 직접 체험하세요. 터치, 키보드, 자동 재생과 CSS 테마를 지원하는 런타임 의존성 없는 JavaScript 캐러셀입니다.">
16
+ <meta property="og:image" content="https://lledellebell.github.io/peek-carousel/public/assets/share_image.png">
17
+ <meta property="og:image:type" content="image/png">
18
+ <meta property="og:image:width" content="1200">
19
+ <meta property="og:image:height" content="720">
20
+ <meta property="og:image:alt" content="흰 배경에 파란 컨트롤과 사진 카드를 배치한 PeekCarousel">
21
+ <meta name="twitter:card" content="summary_large_image">
22
+ <meta name="twitter:title" content="PeekCarousel — JavaScript 캐러셀 데모와 4가지 레이아웃">
23
+ <meta name="twitter:description" content="Stack·Radial·Classic·Fan shape 레이아웃을 직접 체험하세요. 터치, 키보드, 자동 재생과 CSS 테마를 지원하는 런타임 의존성 없는 JavaScript 캐러셀입니다.">
24
+ <meta name="twitter:image" content="https://lledellebell.github.io/peek-carousel/public/assets/share_image.png">
25
+ <meta name="twitter:image:alt" content="흰 배경에 파란 컨트롤과 사진 카드를 배치한 PeekCarousel">
26
+ <link rel="canonical" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ko.html">
27
+ <link rel="alternate" hreflang="en" href="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
28
+ <link rel="alternate" hreflang="ja" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ja.html">
29
+ <link rel="alternate" hreflang="ko" href="https://lledellebell.github.io/peek-carousel/examples/example-built.ko.html">
30
+ <link rel="alternate" hreflang="x-default" href="https://lledellebell.github.io/peek-carousel/examples/example-built.html">
31
+ <meta property="og:locale:alternate" content="en_US">
32
+ <meta property="og:locale:alternate" content="ja_JP">
33
+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.ko.html","url":"https://lledellebell.github.io/peek-carousel/examples/example-built.ko.html","name":"PeekCarousel — JavaScript 캐러셀 데모와 4가지 레이아웃","description":"Stack·Radial·Classic·Fan shape 레이아웃을 직접 체험하세요. 터치, 키보드, 자동 재생과 CSS 테마를 지원하는 런타임 의존성 없는 JavaScript 캐러셀입니다.","inLanguage":"ko","mainEntity":{"@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source"}},{"@type":"SoftwareSourceCode","@id":"https://lledellebell.github.io/peek-carousel/examples/example-built.html#library-source","name":"PeekCarousel","description":"Stack·Radial·Classic·Fan shape 레이아웃을 직접 체험하세요. 터치, 키보드, 자동 재생과 CSS 테마를 지원하는 런타임 의존성 없는 JavaScript 캐러셀입니다.","codeRepository":"https://github.com/lledellebell/peek-carousel","programmingLanguage":"JavaScript","runtimePlatform":"Web browser","license":"https://github.com/lledellebell/peek-carousel/blob/master/LICENSE","url":"https://github.com/lledellebell/peek-carousel"}]}</script>
34
+
35
+ <link rel="preload" href="../public/fonts/noto-sans-ko.woff2" as="font" type="font/woff2" crossorigin="anonymous">
36
+ <link rel="stylesheet" href="../public/fonts/noto-sans-ko.css">
37
+ <link rel="icon" href="../public/favicon-32x32.png">
38
+ <link rel="stylesheet" href="../dist/peek-carousel.min.css">
39
+ <link rel="stylesheet" href="./example.min.css">
40
+
41
+ </head>
42
+ <body class="preview">
43
+ <a class="preview__skip" href="#demo-carousel">미리보기로 건너뛰기</a>
44
+ <header class="preview__header">
45
+ <a class="preview__brand" href="#"><span class="preview__brand_mark" aria-hidden="true">▱</span> PeekCarousel</a>
46
+ <nav class="preview__nav" aria-label="주요 탐색">
47
+ <a href="#playground-stage" aria-current="page">미리보기</a>
48
+ <a href="https://github.com/lledellebell/peek-carousel/blob/master/README.md">문서 <span aria-hidden="true">↗</span></a>
49
+ <a href="https://github.com/lledellebell/peek-carousel">GitHub <span aria-hidden="true">↗</span></a>
50
+ </nav>
51
+ <nav class="preview__languages" aria-label="언어 선택">
52
+ <a href="./example-built.html" lang="en" hreflang="en" aria-label="EN — English">EN</a>
53
+ <a href="./example-built.ja.html" lang="ja" hreflang="ja" aria-label="日本語">日本語</a>
54
+ <a href="./example-built.ko.html" lang="ko" hreflang="ko" aria-label="한국어" aria-current="page">한국어</a>
55
+ </nav>
56
+ </header>
57
+ <main>
58
+ <section class="preview__hero" aria-labelledby="hero-title">
59
+ <p class="preview__eyebrow"><span class="preview__status" aria-hidden="true"></span> 작은 라이브러리. 새로운 시선.</p>
60
+ <h1 id="hero-title">PeekCarousel.<br><span>다음 장면을 위한 여백.</span></h1>
61
+ <div class="preview__intro">
62
+ <p>작은 움직임으로, 더 넓은 가능성을.<br>네 가지 레이아웃. 의존성 없이. 다음 갤러리를 여기서 시작하세요.</p>
63
+ <a class="preview__link" href="https://github.com/lledellebell/peek-carousel/blob/master/README.md#설치">내 프로젝트에 담기 <span aria-hidden="true">↗</span></a>
64
+ </div>
65
+ <nav class="preview__links" aria-label="미리보기 안내"><a href="#carousel-layouts">레이아웃 비교</a><a href="#getting-started">시작 코드</a><a href="#carousel-questions">자주 묻는 질문</a></nav>
66
+ </section>
67
+ <section class="playground" aria-labelledby="playground-title">
68
+ <div class="playground__preview">
69
+ <div class="playground__toolbar">
70
+ <h2 class="preview__eyebrow" id="playground-title">직접 만나는 캐러셀</h2>
71
+ <span class="playground__live"><span class="preview__status" aria-hidden="true"></span> 실시간 미리보기</span>
72
+ </div>
73
+ <noscript><p>직접 조작하려면 JavaScript가 필요합니다. 레이아웃 설명과 시작 코드는 아래에서 읽을 수 있습니다.</p></noscript>
74
+ <div class="playground__stage" id="playground-stage" tabindex="-1">
75
+ <p class="playground__label" data-layout-label>01 / STACK</p>
76
+ <div class="peek-carousel" id="demo-carousel" tabindex="0" role="region" aria-label="사진 갤러리" aria-roledescription="캐러셀" data-demo-a11y="{&quot;slide&quot;:&quot;슬라이드&quot;,&quot;position&quot;:&quot;전체 {total}장 중 {current}번째&quot;,&quot;show&quot;:&quot;전체 {total}장 중 {current}번째 슬라이드 표시&quot;,&quot;choose&quot;:&quot;슬라이드 선택&quot;,&quot;previous&quot;:&quot;이전 슬라이드&quot;,&quot;next&quot;:&quot;다음 슬라이드&quot;,&quot;start&quot;:&quot;자동 재생 시작&quot;,&quot;stop&quot;:&quot;자동 재생 중지&quot;}" aria-describedby="gallery-help">
77
+ <div class="peek-carousel__track">
78
+ <div class="peek-carousel__item">
79
+ <figure class="peek-carousel__figure">
80
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1015/650/490.webp" alt="푸른 피오르 위로 솟은 바위산" width="650" height="490">
81
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">고요한 사이</span><span class="preview__caption_subtitle">바위와 물, 탁 트인 하늘</span></figcaption>
82
+ </figure>
83
+ </div>
84
+ <div class="peek-carousel__item">
85
+ <figure class="peek-carousel__figure">
86
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1018/650/490.webp" alt="안개 낀 계곡을 둘러싼 초록 절벽" width="650" height="490">
87
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">조금 더 느린 곳</span><span class="preview__caption_subtitle">일상에서 한 걸음 멀리</span></figcaption>
88
+ </figure>
89
+ </div>
90
+ <div class="peek-carousel__item">
91
+ <figure class="peek-carousel__figure">
92
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1019/650/490.webp" alt="흐린 하늘 아래 펼쳐진 해안 풍경" width="650" height="490">
93
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">푸른빛 너머로</span><span class="preview__caption_subtitle">해안선을 따라서</span></figcaption>
94
+ </figure>
95
+ </div>
96
+ <div class="peek-carousel__item">
97
+ <figure class="peek-carousel__figure">
98
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1025/650/490.webp" alt="담요에 싸인 퍼그" width="650" height="490">
99
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">함께하는 순간</span><span class="preview__caption_subtitle">작은 순간, 커다란 개성</span></figcaption>
100
+ </figure>
101
+ </div>
102
+ <div class="peek-carousel__item">
103
+ <figure class="peek-carousel__figure">
104
+ <img class="peek-carousel__image" src="https://picsum.photos/id/1035/650/490.webp" alt="물이 흐르는 자연 풍경" width="650" height="490">
105
+ <figcaption class="peek-carousel__caption"><span class="preview__caption_title">흐름을 따라서</span><span class="preview__caption_subtitle">풍경을 즐기는 돌아가는 길</span></figcaption>
106
+ </figure>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ <p class="playground__hint">드래그하며 둘러보기 <span aria-hidden="true">⟷</span></p>
111
+ </div>
112
+ <p class="playground__description" data-layout-description aria-live="polite">익숙한 겹침 사이로, 새로운 발견.</p>
113
+ </div>
114
+ <aside class="playground__settings" aria-labelledby="settings-title">
115
+ <p class="preview__eyebrow">나만의 흐름을 찾아서</p>
116
+ <h2 id="settings-title">하나의 갤러리. 네 가지 표정.</h2>
117
+ <p class="playground__settings_intro">레이아웃을 고르고, 움직임을 느껴보세요.</p>
118
+ <div class="playground__layout_picker" role="group" aria-label="레이아웃 선택">
119
+ <button type="button" class="playground__layout" data-layout="stack" data-description="익숙한 겹침 사이로, 새로운 발견." aria-pressed="true"><span class="playground__layout_mark" aria-hidden="true">▱</span><span>Stack</span><span class="playground__layout_number" aria-hidden="true">01</span></button>
120
+ <button type="button" class="playground__layout" data-layout="radial" data-description="돌릴 때마다, 새로운 시선." aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">◉</span><span>Radial</span><span class="playground__layout_number" aria-hidden="true">02</span></button>
121
+ <button type="button" class="playground__layout" data-layout="classic" data-description="한 장씩, 편안한 리듬으로." aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">▤</span><span>Classic</span><span class="playground__layout_number" aria-hidden="true">03</span></button>
122
+ <button type="button" class="playground__layout" data-layout="fan" data-description="부채처럼 펼쳐지는, 다음 풍경." aria-pressed="false"><span class="playground__layout_mark" aria-hidden="true">⤴</span><span>Fan shape</span><span class="playground__layout_number" aria-hidden="true">04</span></button>
123
+ </div>
124
+ <fieldset class="playground__toggles"><legend>작은 디테일까지</legend>
125
+ <label class="playground__toggle" for="show-navigation"><span>좌우 탐색 버튼</span><input type="checkbox" role="switch" id="show-navigation" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
126
+ <label class="playground__toggle" for="show-counter"><span>슬라이드 카운터</span><input type="checkbox" role="switch" id="show-counter" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
127
+ <label class="playground__toggle" for="show-indicators"><span>진행 표시</span><input type="checkbox" role="switch" id="show-indicators" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
128
+ <label class="playground__toggle" for="show-auto-rotate-button"><span>재생 컨트롤</span><input type="checkbox" role="switch" id="show-auto-rotate-button" checked><span class="playground__toggle_track" aria-hidden="true"></span></label>
129
+ </fieldset>
130
+ <details class="playground__help"><summary>다양한 조작 방식 <span aria-hidden="true">+</span></summary><p id="gallery-help">카드를 드래그하거나 스와이프하세요. 갤러리 위에서 휠을 사용하거나 초점을 둔 뒤 ← / →로 이동할 수 있습니다. Home / End는 처음과 끝으로, Space는 재생을 전환합니다. 포인터나 초점이 갤러리에 들어오면 자동 재생이 멈춥니다.</p></details>
131
+ </aside>
132
+ </section>
133
+ <section class="preview__layouts" id="carousel-layouts" aria-labelledby="layouts-title">
134
+ <div class="preview__section_intro"><p class="preview__eyebrow">같은 콘텐츠, 다른 분위기.</p><h2 id="layouts-title">네 가지 JavaScript 캐러셀.</h2><p>layoutMode로 레이아웃을 고르세요. 모든 레이아웃에서 순환 탐색, 터치, 마우스와 재생 컨트롤을 사용할 수 있습니다.</p></div>
135
+ <div class="preview__layout_grid"><article id="layout-stack"><h3>Stack</h3><p>겹친 카드가 현재 사진을 강조하고 양옆으로 이웃한 사진을 보여줍니다.</p><code>layoutMode: 'stack'</code></article>
136
+ <article id="layout-radial"><h3>Radial</h3><p>입체적인 고리를 따라 카드가 회전하며 선택한 사진을 앞으로 가져옵니다.</p><code>layoutMode: 'radial'</code></article>
137
+ <article id="layout-classic"><h3>Classic</h3><p>사진이 가로로 움직이는 익숙한 순환형 슬라이더입니다.</p><code>layoutMode: 'classic'</code></article>
138
+ <article id="layout-fan"><h3>Fan shape</h3><p>최대 다섯 장의 카드가 부채 모양으로 펼쳐집니다. 끝의 카드는 페이드 없이 앞쪽 카드 뒤로 이동합니다.</p><code>layoutMode: 'fan'</code></article></div>
139
+ </section>
140
+ <section class="preview__usage" id="getting-started" aria-labelledby="usage-title">
141
+ <div><p class="preview__eyebrow">설정은 가볍게, 경험은 풍부하게.</p><h2 id="usage-title">몇 줄의 코드, 더 많은 가능성.</h2><p>#gallery-carousel 안에 .peek-carousel__track과 .peek-carousel__item을 추가하세요. CSS를 불러오고 DOM이 준비된 뒤 초기화합니다.</p><a class="preview__link" href="https://github.com/lledellebell/peek-carousel/blob/master/README.md">문서 살펴보기 <span aria-hidden="true">↗</span></a></div>
142
+ <figure class="preview__code"><figcaption class="preview__code_heading">your-next-gallery.js</figcaption><pre tabindex="0" role="region" aria-label="JavaScript 시작 예제"><code data-demo-code>import PeekCarousel from 'peek-carousel';
143
+ import 'peek-carousel/dist/peek-carousel.css';
144
+
145
+ new PeekCarousel('#gallery-carousel', {
146
+ layoutMode: 'stack',
147
+ startIndex: 0,
148
+ });</code></pre></figure>
149
+ </section>
150
+ <section class="preview__questions" id="carousel-questions" aria-labelledby="questions-title">
151
+ <div class="preview__section_intro"><p class="preview__eyebrow">알아두면 좋은 이야기</p><h2 id="questions-title">자주 묻는 질문.</h2></div>
152
+ <dl>
153
+ <div><dt>React 같은 프레임워크가 필요한가요?</dt><dd>아니요. 런타임 의존성 없는 바닐라 JavaScript 라이브러리입니다. ESM, CommonJS와 브라우저 UMD 빌드를 제공합니다.</dd></div>
154
+ <div><dt>TypeScript나 Python·Go 프로젝트에서도 쓸 수 있나요?</dt><dd>TypeScript 타입 선언을 포함합니다. 다른 웹 서버에서도 같은 브라우저 JS와 CSS를 제공할 수 있습니다. 서버 언어 전용 API는 아닙니다. <a href="https://github.com/lledellebell/peek-carousel/blob/master/docs/integrations.md">프로젝트 통합 안내</a></dd></div>
155
+ <div><dt>어떤 컨트롤을 체험할 수 있나요?</dt><dd>드래그, 스와이프와 휠을 사용하세요. 갤러리에 초점을 두면 방향키, Home, End와 Space도 동작합니다. 설정에서 탐색, 카운터, 진행 표시와 재생 버튼을 켜고 끌 수 있습니다.</dd></div>
156
+ <div><dt>스타일을 바꿀 수 있나요?</dt><dd>네. CSS 변수로 카드 모서리, 그림자, 색상과 컨트롤을 조정할 수 있습니다. <a href="./custom-theme.ko.html">CSS 테마 미리보기</a></dd></div>
157
+ <div><dt>상업용 프로젝트에 사용할 수 있나요?</dt><dd>네. 출처와 필수 고지를 유지하면 자신의 앱에서 상업적으로 사용할 수 있습니다. 새 자료를 라이브러리나 템플릿 자체로 재배포하려면 허가가 필요합니다. 기존 MIT와 사진의 권한은 유지됩니다.</dd></div>
158
+ <div><dt>JavaScript 없이도 볼 수 있나요?</dt><dd>레이아웃 설명, 시작 코드, 언어 링크와 질문·답변은 정적 HTML입니다. 직접 조작하는 미리보기에는 JavaScript가 필요합니다.</dd></div>
159
+ </dl>
160
+ <p class="preview__sources"><a href="https://github.com/lledellebell/peek-carousel/blob/master/README.md">소스와 API 문서 <span aria-hidden="true">↗</span></a></p>
161
+ </section>
162
+ </main>
163
+ <footer class="preview__footer"><span>PeekCarousel <span class="preview__footer_note">— 시선을 조금 더 넓게.</span></span><span>Vanilla JavaScript · <a href="https://github.com/lledellebell/peek-carousel/blob/master/LICENSE" >앱 이용 조건</a></span><small class="preview__copyright">© 2025 PeekCarousel · © 2026 PeekCarousel contributors. <a href="https://github.com/lledellebell/peek-carousel/blob/master/COPYRIGHT.md">저작권과 재사용 조건</a> · <a href="https://github.com/lledellebell/peek-carousel/blob/master/THIRD_PARTY_NOTICES.md">이미지 권리와 출처</a></small></footer>
164
+ <script src="../dist/peek-carousel.js"></script>
165
+ <script src="./example.min.js"></script>
166
+ </body>
167
+ </html>