Gradient Divider

Horizontal divider with a center-fade gradient effect (clear to color to clear)

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

Horizontal divider with a center-fade gradient (clear -> color -> clear).

What you get

  • ✓22 lines of source code, ready to paste
  • ✓Source Code
  • ✓Usage
componentdisplaydividergradientSwiftUI

Usage

SWGradientDivider()                                  // cyan, 0.3 opacity, 1pt
SWGradientDivider(color: .purple, opacity: 0.5)      // purple variant
SWGradientDivider(color: .mint, height: 2)            // thicker mint line