mpetrenco / EmojiPicker

A SwiftUI emoji picker, inspired by the iOS emoji keyboard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmojiPicker

Logo

An emoji picker build in SwiftUI, inspired by Apple's emoji keyboard.


How to use:

First of all, make sure to import the package:


import EmojiPicker

Then, add the EmojiPicker component to your SwiftUI view and bind it to a boolean state, which will be responsible for showing/hiding the emoji picker.


EmojiPicker(shouldDisplay: $shouldDisplay) { selectedEmoji in
  //...
}

Note:
In SwiftUI, the navigation bar will always stay on top of the view. To fix this, wrap the NavigationView in a ZStack and add the EmojiPicker on top.


To Do:

  • Add search functionality to the emoji picker;
  • Add dark mode support;
  • Add skin tone variations when long tapping an emoji;
  • Add iPad support;
  • Add landscape support;

About

A SwiftUI emoji picker, inspired by the iOS emoji keyboard.

License:MIT License


Languages

Language:Swift 100.0%