v-linkify

A simple Vue directive to turn URL's and emails into clickable links
11,676 3
Install
npm install v-linkify
Latest Version:1.0.12
License:ISC
Last Updated:Jun 12, 2025
Links: GitHub  ·  npm
Maintainer: maorbarel

vLinkify logo
v-linkify

The source code for v-linkify a VueJS Directive.

NPM Version NPM Dependencies NPM Downloads MIT License

Git Stars Git fork

A simple Vue directive to turn URL's and emails into clickable links. NO dependencies!

Installation

npm install v-linkify

Install globally

main.js

import Vue from 'vue';
import vLinkify from 'v-linkify';

Vue.use(vLinkify)

Install locally

component.vue

import { vLinkify as linkify } from  "v-linkify";

export default {
   directives: {
      linkify
   }
}

Basic Usage

<template>
   <div v-linkify>
      v-linkify https://github.com/maorbarel/v-linkify
      Vue directive to parse links (urls, emails, etc.)
      in text into clickable links
   </div>
</template>

Advanced Usage

<template>
   <div v-linkify="{ className: 'myClassName', target: '_self' }">
      v-linkify https://github.com/maorbarel/v-linkify
      Vue directive to parse links (urls, emails, etc.) 
      in text into clickable links
   </div>
</template>

Options

  • className | String
  • target | String, _blank By default

Authors

Maor Barel

License


MIT © Maor Barel

Related Packages

vue-linkify

A simple Vue directive to turn URL's and emails into clickable links

294,529
vue-linkify-vue3

A simple Vue directive to turn URL's and emails into clickable links. Maintained...

7,558 0
vue-autolink

Auto-link url and images in Vue components

1,566
@directive-run/vue

Vue composition API adapter for Directive.

13,087 5
@linksense/vue

Vue composables for URL platform detection — useLinkSense, useDetectAll, useNorm...

915

Version History

Version Released License
1.0.12 ISC
1.0.11 ISC
1.0.10 ISC
1.0.9 ISC
1.0.8 ISC