@lineiconshq/vue-lineicons

Vue components for LineIcons - Free and Pro icon library
6,714 6
Install
npm install @lineiconshq/vue-lineicons
Latest Version:0.0.4
Vue:3
License:MIT
Last Updated:Sep 29, 2025
Links: GitHub  ·  npm
Maintainer: naim-pimjo

Lineicons Vue — Essential UI Icons for Vue

Lineicons Vue provides ready-to-use Vue components for Lineicons, making it easy to add scalable SVG icons to your Vue 3 projects. Customize size, color, and style with simple props — perfect for modern UI development.


Installation

npm install @lineiconshq/vue-lineicons @lineiconshq/free-icons

Usage

With Composition API

<template>
  <div>
    <Lineicons :icon="Home2Outlined" :size="24" color="blue" />
    <Lineicons :icon="CloudBolt1Bulk" :size="40" color="orange" />
    <Lineicons :icon="CloudBolt1Outlined" :size="50" color="blue" />
    <Lineicons :icon="CloudBolt1Duotone" :size="30" color="green" />
    <Lineicons :icon="CloudBolt1Solid" :size="24" class="bg-success-500" />
    <Lineicons :icon="Home2Stroke" :size="80" :stroke-width="2" /> 
  </div>
</template>

<script setup lang="ts">
import { Lineicons } from "@lineiconshq/vue-lineicons";
import {
  Home2Outlined,
  CloudBolt1Bulk,
  CloudBolt1Outlined,
  CloudBolt1Duotone,
  CloudBolt1Solid,
  Home2Stroke,
} from "@lineiconshq/free-icons";
</script>

With Options API

<template>
  <Lineicons :icon="currentIcon" :size="24" color="red" />
</template>

<script>
import { Lineicons } from "@lineiconshq/vue-lineicons";
import { Home2Outlined } from "@lineiconshq/free-icons";

export default {
  components: {
    Lineicons,
  },
  data() {
    return {
      currentIcon: Home2Outlined,
    };
  },
};
</script>

API Reference

Lineicons

Main component for rendering icons.

interface LineiconsProps {
  icon: IconData;
  size?: number;
  color?: string;
  class?: string;
  strokeWidth?: number;
}

interface IconData {
  name: string;
  svg: string;
  viewBox: string;
  defaultFill?: string;
  defaultStroke?: string;
  hasFill: boolean;
  hasStroke: boolean;
  hasStrokeWidth: boolean;
}
Prop Type Default Description
icon IconData — (required) The icon object to render.
size number | string 24 Icon size (pixels or CSS units).
color string currentColor Icon color.
class string — CSS class applied to the SVG element.
strokeWidth number 1.5 Stroke width for outlined icons.

All other valid SVG attributes are supported and passed through.


TypeScript Support

Full TypeScript support with type definitions for all components and icons for better autocomplete and DX.


Available Icon Styles

  • Stroke — Outline icons with customizable stroke width
  • Solid — Fully filled icons
  • Duotone — Two-tone icons
  • Bulk — Filled icons with background accents
  • Outlined — Alternative outline style

License


Resources & Support

Related Packages

@bitrix24/b24icons-vue

Bitrix24 SVG icons for development web-applications for Vue

43,035 6
@bitrix24/b24icons-nuxt

Bitrix24 SVG icons for development web-applications for Nuxt

32,486 6
moe-icons

SVG icon library for React and Vue

640 0
@sky.ui.pro/vue

Sky UI Pro Vue wrappers — run npx sky.ui.pro install after npm install.

9,929
@solar-icons/nuxt

Nuxt module for easily integrating Solar Icons into your Nuxt 3+ applications.

9,600 224

Version History

Version Released License
0.0.4 MIT
0.0.3 MIT
0.0.2 MIT
0.0.1 MIT