Swiftpack.co - Package - danielsaidi/KeyboardKitSwiftUI

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.


KeyboardKitSwiftUI contains SwiftUI add-ons to KeyboardKit

Version Platform Swift 5.3 MIT License Twitter: @danielsaidi

About KeyboardKitSwiftUI

KeyboardKitSwiftUI extends KeyboardKit with SwiftUI support. It's temporarily a separate project, since SwiftUI requires iOS 13 and KeyboardKit targets iOS 11.

SwiftUI support is currently an experimental feature, where I work on finding a good fit with the main library. To be able to move swiftly (pun intended) and not get stuck with a bunch of deprecations and migrations, I will allow breaking changes between minor versions.

This library will become a part of the main library in v 4.0, and will then completely replace UIKit, which will no longer be supported. Read more about this decision here.


Swift Package Manager



target 'MyApp' do
  pod 'KeyboardKit'
  pod 'KeyboardKitSwiftUI'

target 'MyKeyboard' do
  pod 'KeyboardKit'
  pod 'KeyboardKitSwiftUI'

Contact me

Feel free to reach out if you have questions or if you want to contribute in any way:


KeyboardKit is proudly supported by:

Anomaly Software Logo Milo Creative Logo

Your company can support KeyboardKit by either sponsoring the project on GitHub Sponsors or by paying for consultation. I'ld be happy to help you out with your keyboard needs.


KeyboardKitSwiftUI is available under the MIT license. See LICENSE file for more info.


Stars: 50
Last commit: 23 hours ago


- 2021-01-21T00:12:10

New features

  • AutocompleteToolbar has a new, static standardReplacement function.
  • AutocompleteToolbar has a new, static standardReplacementAction function.
  • AutocompleteToolbar now lets you provide an optional, custom replacementAction in init.
  • Color+Resources is a new extension that provides asset-based colors that adapt to dark mode.
  • EmojiCategoryKeyboard is a new view that lists the emojis of a selected category and a menu.
  • EmojiCategoryKeyboardMenu is a new view that lets the user select one of multiple categories.
  • EmojiKeyboard is a new view that renders a set of emojis in a lazy grid. The item action is customizable.

Behavior changes

  • Color+Button uses the new asset-based colors.
  • SystemKeyboardButtonBody now only offsets small caps texts.
  • Due to a secondary callout action bug, the secondary context is now created by the vc.


  • Some button-specific Color extensions have been deprecated.
  • View+keyboardAction(:context:) has been deprecated.