Previews

KeyboardKit has extension keyboard preview support.

πŸ‘

Overview

SwiftUI previews are a great way to work on your design in Xcode, without having to launch an app. Just update your views and models, and the preview will update.

KeyboardKit has preview-specific services and state, that can be used in your previews. This makes it easy to set up and preview your keyboard-specific views directly in Xcode.

KeyboardKit Pro unlocks powerful system keyboard and theme previews, that can be used both in SwiftUI previews, as well as in the app.

Core Features

KeyboardKit has a KeyboardPreviews namespace that contains preview-related services and types.

KeyboardKit also defines a .preview implementation for all services, like KeyboardContext.preview. This simplifies creating SwiftUI previews for views that require KeyboardKit.

πŸ‘‘ Pro Features

KeyboardKit Pro unlocks powerful system keyboard previews.

For instance, a SystemKeyboardPreview can be used to preview a SystemKeyboard in different ways.

There is also a lightweight SystemKeyboardButtonPreview that can preview many themes at once.

System Keyboard Button Preview

Documentation

The information on this page is shortened to be easier to overview. For more information about this feature, code samples, etc. please see the online documentation.


Read more

⌨️

Essentials

KeyboardKit provides essential features, utilities & views.

πŸ’₯

Actions

KeyboardKit makes it easy to trigger keyboard-related actions

πŸ€–

AI Support

KeyboardKit has features that are needed for AI.

πŸ“±

App

KeyboardKit has app-specific screens & views.

πŸ’‘

Autocomplete

KeyboardKit can perform autocomplete.

πŸ—―

Callouts

KeyboardKit can show input & secondary action callouts.

🌈

Colors

KeyboardKit defines keyboard-specific colors.

πŸ–₯️

Device Utilities

KeyboardKit has device-specific utilities.

🎀

Dictation

KeyboardKit can perform dictation from the keyboard.

πŸ˜€

Emojis

KeyboardKit defines emojis, categories, skin tones, etc.

⌨️

External Keyboards

KeyboardKit Pro can detect if an external keyboard is being used.

πŸ”‰

Feedback

KeyboardKit can trigger audio & haptic feedback.

πŸ‘†

Gestures

KeyboardKit has a customizable keyboard gesture engine.

🏠

Host

KeyboardKit can identify the host application.

πŸ–ΌοΈ

Images

KeyboardKit defines keyboard-specific images.

πŸ”£

Layout

KeyboardKit has customizable input sets & keyboard layouts.

🌐

Localization

KeyboardKit supports 60+ locales and languages.

πŸ—ΊοΈ

Navigation

KeyboardKit lets you open urls and apps from the keyboard.

πŸ‘

Previews

KeyboardKit has extension keyboard preview support.

➑️

Proxy Utilities

KeyboardKit makes your text document proxy do a LOT more.

βš™οΈ

Settings

KeyboardKit has tools for in-app settings & System Settings.

🩺

Status

KeyboardKit detects if a keyboard is enabled, has full access, etc.

🎨

Styling

KeyboardKit lets you style your keyboards to great extent.

πŸ“

Text Input

KeyboardKit can input text inside the keyboard extension itself.

🍭

Themes

KeyboardKit can use themes to style keyboards in flexible ways.