# Colorful **Repository Path**: mirrors_jaywcjlove/Colorful ## Basic Information - **Project Name**: Colorful - **Description**: This is a SwiftUI color picker component library for macOS, designed to replace the default ColorPicker component. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-21 - **Last Updated**: 2025-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Colorful === This is a SwiftUI color picker component library for macOS, designed to replace the default ColorPicker component. In addition, I’ve created another component library, [ColorSelector](https://github.com/jaywcjlove/ColorSelector), which offers a different user experience and a distinct style. The inspiration for this component comes from [react-colorful](https://github.com/omgovich/react-colorful), which I developed for a community member free of charge. ![Colorful for macOS](https://github.com/user-attachments/assets/89f6d76a-8e6d-47da-b8e9-96009110e57c) ✦ My macOS/iOS application ✦

VidCrop Vidwall Mousio Hint Mousio Musicer Audioer FileSentinel FocusCursor Videoer KeyClicker DayBar Iconed RightMenu Master Quick RSS Quick RSS Web Serve Copybook Generator DevTutor for SwiftUI RegexMate Time Passage Iconize Folder Textsound Saver Create Custom Symbols DevHub Resume Revise Palette Genius Symbol Scribe

Welcome to download [DevTutor](https://apps.apple.com/app/devtutor/id6471227008), a cheat sheet app designed to help developers quickly build excellent applications using SwiftUI.

DevTutor for SwiftUI AppStore

## Usage ```swift import Colorful struct ContentView: View { @State var color: Color? = Color.blue @State var colorClear: Color? = .clear var body: some View { Colorful("Color", selection: $color, arrowEdge: .bottom) .frame(width: 210) Colorful(selection: $colorClear, arrowEdge: .top) } } ``` Use the `showsAlpha` modifier to control the visibility of the alpha (opacity) slider in the picker panel. ```swift import Colorful struct ContentView: View { @State var color: Color? = .clear var body: some View { ColorfulPicker(selection: $color) .showsAlpha(false) } } ``` ## License Licensed under the MIT License.