Vue and Svelte Available

The rd icons as components for Vue 3 and Svelte 5. They have the same names and the same props as the React package, and every icon can move when you ask it to.

Vue 3

terminal
npm install @rdicons/vue-rd
App.vue
<script setup>
import { Bell, Rocket, Folder } from '@rdicons/vue-rd'
</script>

<template>
  <Bell />                                         <!-- still, like any icon -->
  <Bell animate />                                 <!-- plays on hover -->
  <button><Folder animate="parent" /> Open</button> <!-- plays when the button is hovered -->
  <Rocket animate="loop" :speed="1.5" color="#4f46e5" :size="32" />
</template>

Needs Vue 3.3 or newer. ESM only, with TypeScript types.

Svelte 5

terminal
npm install @rdicons/svelte-rd
App.svelte
<script>
  import { Bell, Rocket, Folder } from '@rdicons/svelte-rd'
</script>

<Bell />                                           <!-- still, like any icon -->
<Bell animate />                                   <!-- plays on hover -->
<button><Folder animate="parent" /> Open</button>  <!-- plays when the button is hovered -->
<Rocket animate="loop" speed={1.5} color="#4f46e5" size={32} />

Needs Svelte 5 and a bundler that compiles Svelte packages (Vite with @sveltejs/vite-plugin-svelte, or SvelteKit).

Props

PropDefaultWhat it does
size24width and height in px (or any CSS length)
colortext colorstroke color
strokeWidth1.5stroke width
titlenoneaccessible name; without it the icon is hidden from screen readers
animateofftrue or "hover", "parent", "play", "loop"
speed12 is twice as fast (needs animate)

Any other attribute (class, style, aria-label, events) goes to the <svg>. Animation is off unless you ask for it, and it stops for people who set their device to reduced motion. See Animated icons for the modes.

All 19 libraries

@rdicons/vue-rd and @rdicons/svelte-rd hold the rd icons only, so they stay small. For Lucide, Tabler, Phosphor, Material Symbols, Heroicons and the rest (79,000+ icons) there are two bigger packages with one path per library, like the React package.

terminal
npm install @rdicons/vue      # Vue 3
npm install @rdicons/svelte   # Svelte 5
Vue
<script setup>
import { House, Bell } from '@rdicons/vue/lucide'
import { Home } from '@rdicons/vue/mdi'
</script>

<template>
  <House :size="28" color="#4f46e5" />
  <Bell /> <Home />
</template>
Svelte
<script>
  import { Icon } from '@rdicons/svelte'
  import { House, Bell } from '@rdicons/svelte/lucide'
</script>

<Icon icon={House} size={28} color="#4f46e5" />
<Icon icon={Bell} />

In Svelte one shared Icon component draws any icon you import: a separate file for each of 79,000 icons would make installs slow. Only the icons you import end up in your app. The animate and speed props work for the rd icons (@rdicons/vue/rd, @rdicons/svelte/rd); the other libraries are shown as their authors drew them. Each library keeps its own license (Solar asks you to credit its author), and the LICENSES folder in the package has the texts.