FreeComponents
Label with Icon and Image
Reusable label components pairing a leading visual (SF Symbol or image resource) with localized text
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
Reusable label components that pair a leading visual (SF Symbol or image resource) with a localized text name. Commonly used in List rows, settings screens, or menu items. Includes two variants: SWLabelWithIcon and SWLabelWithImage.
What you get
- ✓52 lines of source code, ready to paste
- ✓Source Code
- ✓Usage
componentdisplaylabeliconimagelistSwiftUI
Usage
// Label with an SF Symbol icon on a colored circle
SWLabelWithIcon(
icon: "gearshape",
bg: .orange,
name: "Settings"
)
// Label with a custom image resource
SWLabelWithImage(
image: .appIcon,
name: "My App"
)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
- Floating LabelsFreeAnimated floating capsule labels that fade in and out at specified positions around an image
- Gradient DividerFreeHorizontal divider with a center-fade gradient effect (clear to color to clear)