Screens
Screen-level patterns and higher-level UI compositions backed by the package showcase. Includes dashboards, settings, messaging, and other complete app experiences.
9 components available
DSCommandPalette
NewCommand palette activated by ⌘K. Real-time filtering, section grouping, keyboard shortcuts, and arrow-key navigation.
DSOnboardingFlow
NewMulti-step onboarding flow with a step indicator, transition animations between screens, forward/back buttons, and a skip option.
DSActivityFeed
NewVertical event feed with avatar, event type icon, description, and timestamp. Supports grouping by date.
DSNotificationCenter
NewFull notification centre with grouping by type, mark-all-read, per-notification actions, and empty state.
DSMediaGallery
NewResponsive photo/video grid with a full-screen viewer, pinch-to-zoom, and swipe-to-dismiss. Supports lazy loading.
DSChatBubble
NewMessage bubble with sent/received alignment, timestamp, delivery status indicators, and support for text, image, and audio messages.
DSTaskCard
NewTask item card with a completion checkbox, priority badge, due date, assignee avatars, and a label/tag row.
DSDashboardScreen
NewComposable dashboard screen with a greeting header, KPI metric row, line/bar chart, activity feed, and quick-action buttons.
DSProfileHeroCard
NewProfile header card with avatar, name, bio, and stats.
Quick Import Reference
// Package.swift
.package(url: "https://github.com/luizmellodev/SwiftDS-package", from: "2.0.0")
// In any SwiftUI file
import SwiftDS
struct MyView: View {
var body: some View {
VStack(spacing: DSSpacing.md) {
// Use any screens component here
}
}
}