Update README.md
UI components library for Swift. Currently supports MaterialDesign.
ButtonStyleContained
struct ButtonStyleContained_Previews: PreviewProvider { static var previews: some View { Button("Button") { }.buttonStyle(ButtonStyleContained()) } }
ButtonStyleOutlined
struct ButtonStyleOutlined_Previews: PreviewProvider { static var previews: some View { Button("Button") { }.buttonStyle(ButtonStyleOutlined(strokeColor: .black)) } }
FillCard
struct FilledCard_Previews: PreviewProvider { static var previews: some View { HStack { Text("text").padding(10) }.modifier(FilledCard(cornerRadius: 5, backgroundColor: .yellow)) } }
ElevatedCard
struct ElevatedCard_Previews: PreviewProvider { static var previews: some View { HStack { Text("text").padding(10) }.modifier(ElevatedCard(cornerRadius: 5, shadowColor: .gray)) } }
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
MaterialDesignUIComponents
UI components library for Swift. Currently supports MaterialDesign.
Sample
ButtonStyle
ButtonStyleContained
ButtonStyleOutlined
Modifiler
FillCard
ElevatedCard