npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@lineiconshq/vue-lineicons

v0.0.4

Published

Vue components for LineIcons - Free and Pro icon library

Readme

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