shredbx logo
shredbx shredbx shredbx shredbx Personal
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
AClaude
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
Andrei Solovev
Packages
Search packages... ⌘K
  • Data & Persistence
    • Databases 3
    • Object Storage 1
    • File Formats 2
    • Enumerations 2
    • Content 1
    • Codegen 2
  • System Integration
    • Secrets 1
    • CLI Tools 5
    • Media Processing 2
    • Adapters 2
  • UI & Components
    • Primitives 1
    • Blocks 1
    • Sections & Layouts 1
    • Entities 1
    • Media 1
    • Utilities 1
    • State & Presenter 1
    • Branding & Style 1
  • Game Engine
    • Framework 1
    • Engine 2
    • Presets 1
    • Vendor 1
Packages/ UI & Components/ Media/ Core Ui Media
SvelteKit Package

core-ui-media

Media components — image grid, carousel, lightbox, video background, metrics overlay

SvelteKit Ready UI
Media Gallery svelte
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script>
  import { ImageGrid, ImageLightbox, VideoBackground }
    from '@sbx/core-ui/components/media';

  let lightboxOpen = $state(false);
  let lightboxIndex = $state(0);
</script>

<VideoBackground src="/hero.m3u8" poster="/hero.jpg" autoplay muted>
  <h1>Welcome</h1>
</VideoBackground>

<ImageGrid images={gallery} columns={3}
  onclick={(i) => { lightboxIndex = i; lightboxOpen = true; }} />

<ImageLightbox images={gallery} index={lightboxIndex}
  open={lightboxOpen} />

About

Visual media presentation components. Includes responsive image layouts (ImageGrid, ImageCarousel), a fullscreen lightbox viewer, HLS-capable video background with autoplay, and a metrics overlay for analytics dashboards.

Public API

NameKindSignature
ImageGridtypeImageGrid.svelte — images, columns, gap, onclick
ImageCarouseltypeImageCarousel.svelte — images, autoplay, interval
ImageCardtypeImageCard.svelte — src, alt, caption, aspect
ImageLightboxtypeImageLightbox.svelte — images, index, open
VideoBackgroundtypeVideoBackground.svelte — src, poster, autoplay, muted
MetricsOverlaytypeMetricsOverlay.svelte — metrics, position

Dependencies

Imports (1)

core-ui-primitives SvelteKit Ready

Base UI primitives — Button, Input, Modal, Badge, Avatar, Tooltip, Select

svelte-5componentsprimitivesform-inputsdesign-system
13 exports 2 deps

Related Packages

core-ui-primitives SvelteKit Ready

Base UI primitives — Button, Input, Modal, Badge, Avatar, Tooltip, Select

svelte-5componentsprimitivesform-inputsdesign-system
13 exports 2 deps
core-ui-blocks SvelteKit Ready

Composite UI blocks — NavRail, CommandPalette, ChatWidget, FileTree, Editors

svelte-5componentsnavigationeditorsdata-displaypresenter-driven
15 exports 2 deps

Source

@sbx/core-ui/components/media
svelte-5mediaimagesvideohlsgallerylightbox
shredbx logo shredbx shredbx shredbx shredbx Andrei Solovev

Solution Architect & Lead Software Engineer

ExperiencePortfolioResearch & ExperimentsEducationCertificationSkills
GitHub ↗LinkedIn ↗Email ↗
AVAILABLE FOR NEW PROJECTS
// MY LATEST BEATS
Hobby & Interests

Lab

  • The Lab
  • Framework
  • Components
  • Packages
  • Games
  • Process (SDLC)
  • Knowledge
  • Blog

Andrei

  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
  • Lifestyle

Team

  • Team
  • Andrei
  • Claude

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 shredbx.com. All rights reserved. — Andrei Solovev |