Easy integration

Get Started

KeyboardKit lets you be up and running in minutes.

KeyboardKit is easy to install and start using. Be up and running in minutes, with little or no extra code.

Installation Setup

Installation

Add KeyboardKit to your project with the Swift Package Manager.

https://github.com/KeyboardKit/KeyboardKit

Setting Up a Keyboard Extension

Setting up KeyboardKit for your keyboard extension is super simple.

import KeyboardKit

class KeyboardViewController: KeyboardInputViewController {

  override func viewWillSetupKeyboardKit() {
    super.viewWillSetupKeyboardKit()
    setupKeyboardKit(for: .keyboardkit) { [weak self] result in
      ...
    }
  }

  // Optional
  override func viewWillSetupKeyboardView() {
    setupKeyboardView { [unowned self] controller in
      CustomKeyboardView(...)
    }
  }
}

This will register your Pro license, setup services, and enable data sync with the main app. You can also customize the default KeyboardView or use completely custom view.

Setting Up an App

Setting up KeyboardKit for your main app is equally easy.

import KeyboardKit

@main
struct KeyboardKitApp: App {

  var body: some Scene {
    WindowGroup {
      KeyboardAppView(for: .myApp) {
          ContentView()
      }
    }
  }
}

This will register your Pro license, setup services, and enable data sync with the keyboard.

Ready to Build Your Keyboard?

Join thousands of developers creating amazing keyboard experiences with KeyboardKit. Start building today!