FreeComponents
Floating Labels
Animated floating capsule labels that fade in and out at specified positions around an image
Free
Free with a ShipSwift account.
Copies a short instruction with your private download link. Paste it into your agent: it downloads the whole skill (the source code, the setup steps and the mistakes we already made for you) and builds the screen.
Works with
+70
What it does
Displays an image with animated floating capsule labels that fade in and out at specified positions around the image. Useful for showcasing feature callouts, AI analysis results, or point-of-interest annotations.
What you get
- ✓98 lines of source code, ready to paste
- ✓Source Code
- ✓Usage
componentdisplayfloatinglabelsanimationSwiftUI
Usage
SWFloatingLabels(
image: Image("myPhoto"),
size: 360,
cornerRadius: 24,
cycleDuration: 3.0,
labels: [
.init(text: "Teeth mapping", position: CGPoint(x: 0.3, y: 0.5)),
.init(text: "Plaque detection", position: CGPoint(x: 0.9, y: 0.6)),
.init(text: "Shape & balance", position: CGPoint(x: 0.5, y: 0.8))
]
)More in Components
- Add SheetFreeBottom sheet with text input field, Cancel and Continue buttons, presented as a medium detent sheet
- Alert Toast NotificationFreeGlobal toast-style alert overlay with preset styles (info, success, warning, error) and auto-dismiss
- Bullet Point TextFreeText label with a colored capsule bullet point indicator that accepts any View content via @ViewBuilder
- Cached ImageFreeAsyncImage drop-in with a memory + disk cache, so re-created views show remote images on the first frame instead of flashing the placeholder
- Gradient DividerFreeHorizontal divider with a center-fade gradient effect (clear to color to clear)
- Image ThumbnailFreeReusable rounded image thumbnail with same-named ColorSet fallback — perfect for product cards, avatars, and cover images