Navigation Components
Components for app navigation, including tab bars, sidebars, subnavigation, and segmented controls. Build intuitive navigation patterns that help users move through your app effortlessly.
7 components available
DSTabs
Tab bar with icon, label, and badge support. Uses spring animations for the active indicator.
DSSegmentedControl
Horizontal row of mutually exclusive segments with a sliding active indicator.
DSFloatingTabBar
NewFloating tab bar with capsule, rounded, or standard styles. Features smooth spring animations and matched geometry transitions.
DSNavigationBar
App navigation bar with a title, optional back button, and leading/trailing icon button slots.
DSSidebar
Collapsible navigation sidebar for macOS and iPad with section grouping and active-state indicator.
DSTabBar
NewHorizontal scrollable tabs with animated underline indicator.
DSSubnavigation
NewHorizontal bar of selectable items for secondary navigation.
Quick Import Reference
// Package.swift
.package(url: "https://github.com/luizmellodev/SwiftDS-package", from: "0.1.0")
// In any SwiftUI file
import SwiftDS
struct MyView: View {
var body: some View {
VStack(spacing: DSSpacing.md) {
// Use any navigation component here
}
}
}