Giter Site home page Giter Site logo

vue3-discordpicker's Introduction

vue3-discord-picker


VueJS TailwindCSS

NPM

A new emoji / gif picker for your app ! Based on discord.

This components is available only in vue3.

๐Ÿšง Rework in typescript and composition-api soon.

Example

Install

npm install vue3-discordpicker

Global

import Vue from 'vue'
import DiscordPicker from 'vue3-discordpicker'

Vue.use(DiscordPicker, /* { default options with global component } */)

Local registration

import DiscordPicker from 'vue3-discordpicker'

export default {
  components: {
    DiscordPicker
  }
}

Props

Name Type Default Description
input Boolean false Load input w/ autocomplete
value String, Number null v-model to input value
categories Array true Display the mask on first load
gifFormat String Return gif link with markdown format or html format (default: nothing)
apiKey String API_KEY tenor.com (free, register here: https://tenor.com/gifapi) (if no key: gif not appear)
showUpload Boolean Display upload icon at left (with emit method)
showEmoji Boolean Display emoji icon
sources Object Set new source url for all image

Sources props

"search": String "gif": String "emoji": String "category": String (add %REPLACE% in your URL to change with slug, example: https://en-zo.dev/vue-discord-emojipicker/categories/%REPLACE%.svg transform into https://en-zo.dev/vue-discord-emojipicker/categories/animals.svg`) "variation": String (same at category, example: https://en-zo.dev/vue-discord-emojipicker/variations/variation_%REPLACE%.svg transform into https://en-zo.dev/vue-discord-emojipicker/variations/variation_0.svg (0 - 4))

Categories

All categories list: ['people', 'animals', 'foods', 'travel', 'activities', 'objects', 'symbols', 'flags']

vue3-discordpicker's People

Contributors

enzostvs avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.