Skip to content
Skeleton Media preview
Rendered from the SwiftUI source on this page.

Skeleton Media

From syxUI — written for both platforms, not translated between them.

A media-grid skeleton.

Loaders · SwiftUI · iOS 17

  • loaders
  • swiftui

The actual source

SkeletonMedia.swift
// Skeleton Media · syxUI · https://syxui.dev/components/loader-sk-media
// Free in any project. Keep this line and credit syxUI where a person can read it.

import SwiftUI

struct SkeletonMedia: View { var body: some View { HStack(spacing: 8) { RoundedRectangle(cornerRadius: 10).fill(Color.primary.opacity(0.08)).frame(width: 130, height: 130); VStack(spacing: 8) { RoundedRectangle(cornerRadius: 10).fill(Color.primary.opacity(0.08)).frame(width: 90, height: 61); RoundedRectangle(cornerRadius: 10).fill(Color.primary.opacity(0.08)).frame(width: 90, height: 61) } }.frame(width: 240) } }
iOS 17 · No dependencies

Dependencies

SwiftUI
No external dependencies

Requires iOS 17