Skip to content

ngnijland/swiftui-react-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI React Components

I really like the structure and workings of the default component set that Apple supplies while developing in SwiftUI. I decided to play around a bit to see if the same structure would work on web.

I started adding all components that are used in this tutorial: https://developer.apple.com/tutorials/swiftui/creating-and-combining-views

The page is delpoyed to GitHub Pages here.

TODO

Components

  • View
    • offset
    • padding
    • frame
  • VStack
    • alignment
    • padding
    • font
    • foregroundColor
  • HStack
    • alignment
    • padding
  • Text
    • font
    • foregroundColor
  • Spacer
  • Divider
  • Image
    • clipShape
    • overlay
    • shadow
  • Map
    • position

Views

  • ContentView
  • CircleImage
  • MapView

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published