Skip to content

swiftcn-ui

Customizable SwiftUI components for iOS apps, copied in rather than installed as a package.

github.com/Mobilecn-UI/swiftcn-ui

swiftcn-ui website screenshot
Added
GitHub stars
148
License
MIT
Price
Free

About

About swiftcn-ui

swiftcn-ui is a library of SwiftUI components for iOS, inspired by shadcn-ui. The README promises no package install: you open the Swift playground in Xcode and take the pieces you want. Finished components are avatar, badge, button, card, input, progress, slider, tabs and toggle, with calendar, skeleton and textarea still in progress. An X-style home screen is the one finished example.

To try it, clone the repo and open Swiftcn Playground.swiftpm in Xcode, or follow the hosted docs. The code is MIT licensed with 148 stars. The README asks for a new maintainer, and the last push was in April 2024, so expect gaps. It suits iOS developers who want a shadcn-style look in SwiftUI.

swiftcn-ui features

6 features

  • SwiftUI components for iOS
  • Swift playground in Xcode
  • Avatar, button, card and tabs
  • Dark and light modes
  • X home example screen
  • MIT license

Install swiftcn-ui

1 command

Terminal

$ git clone git@github.com:Mobilecn-UI/swiftcn-ui.git

What you can build with swiftcn-ui

3 use cases

  • Prototyping an iOS screen with shadcn-style controls
  • Copying a badge or card into a SwiftUI app
  • Learning how a shadcn-style set maps to SwiftUI

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What swiftcn-ui is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro