
Skeleton Grid
From syxUI — written for both platforms, not translated between them.
A grid-of-tiles skeleton.
Loaders · SwiftUI · iOS 17
- loaders
- swiftui
The actual source
SkeletonGrid.swift
// Skeleton Grid · syxUI · https://syxui.dev/components/loader-sk-grid
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
struct SkeletonGrid: View { var body: some View { LazyVGrid(columns: [GridItem(.flexible(), spacing: 8), GridItem(.flexible(), spacing: 8)], spacing: 8) { ForEach(0..<4, id: \.self) { _ in RoundedRectangle(cornerRadius: 10, style: .continuous).fill(Color.primary.opacity(0.08)).frame(height: 90) } }.frame(width: 260) } }
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


