Navigation Components
Components for app navigation, including tab bars, sidebars, breadcrumbs, and segmented controls. Build intuitive navigation patterns that help users move through your app effortlessly.
9 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.
DSBreadcrumb
Hierarchical path display with chevron separators and tappable ancestor links.
DSPagination
Page control with previous/next buttons and numbered page indicators. Supports compact (dots) and full (numbers) modes.
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: "2.0.0")
// In any SwiftUI file
import SwiftDS
struct MyView: View {
var body: some View {
VStack(spacing: DSSpacing.md) {
// Use any navigation component here
}
}
}