Lucide Icon Library
A searchable Lucide prototype icon grid with per-icon loading and copy-ready usage snippets.
Proto UI generates Lucide icon prototypes from lucide-static. This is the library’s primary working page: search icons directly, open a card to inspect its import path, and copy either an asHook or inline render snippet.
Icons use independent entry points for on-demand imports. The grid renders in batches and loads each SVG only as it approaches the viewport, so there is no need for a separate documentation page for every icon.
No icons match your query.
Import path
Install
Section titled “Install”For the published 0.2.0 Web Component baseline in an existing bundler application:
npm install @proto.ui/prototypes-lucide@0.2.0 @proto.ui/adapter-web-component@0.2.0Or use pnpm:
pnpm add @proto.ui/prototypes-lucide@0.2.0 @proto.ui/adapter-web-component@0.2.0React and Vue 3 applications select @proto.ui/adapter-react@0.2.0 or @proto.ui/adapter-vue@0.2.0 instead and keep their framework installed. Vue 2.6 (>=2.6.0 <2.7) uses the matching workspace 0.3 @proto.ui/adapter-vue2 source; it is not part of the stable 0.2.0 package set. The gallery uses current workspace source, and its generated baseline does not prove that a newer registry version is available.
Use one icon
Section titled “Use one icon”Import a fixed glyph from its public entrypoint. These complete application components use the same public Adapter creation APIs as the CLI. Keep the existing framework’s mount entry; for WC, add the paragraph to the existing document and load the module once. No theme or Tailwind setup is required for this SVG example.
Scroll to see all hosts →
import { AdaptToWebComponent, setElementProps } from '@proto.ui/adapter-web-component';
import { lucideCheckIcon } from '@proto.ui/prototypes-lucide/icons/check';
const CheckIcon = AdaptToWebComponent(lucideCheckIcon, { registerAs: 'app-check-icon' });
const icon = new CheckIcon();
setElementProps(icon, { size: 18, strokeWidth: 2 });
const slot = document.querySelector('#check-icon');
if (!slot) throw new Error('Missing #check-icon mount');
slot.append(icon);<p><span id="check-icon" aria-hidden="true"></span> Saved</p>
<script type="module" src="/src/main.ts"></script>import * as React from 'react';
import { createReactAdapter } from '@proto.ui/adapter-react';
import { lucideCheckIcon } from '@proto.ui/prototypes-lucide/icons/check';
const CheckIcon = createReactAdapter(React)(lucideCheckIcon);
export default function App() {
return <p><span aria-hidden="true"><CheckIcon size={18} strokeWidth={2} /></span> Saved</p>;
}<script setup lang="ts">
import * as Vue from 'vue';
import { createVueAdapter } from '@proto.ui/adapter-vue';
import { lucideCheckIcon } from '@proto.ui/prototypes-lucide/icons/check';
const CheckIcon = createVueAdapter(Vue)(lucideCheckIcon);
</script>
<template>
<p><span aria-hidden="true"><CheckIcon :size="18" :strokeWidth="2" /></span> Saved</p>
</template><script>
import Vue from 'vue';
import { createVue2Adapter } from '@proto.ui/adapter-vue2';
import { lucideCheckIcon } from '@proto.ui/prototypes-lucide/icons/check';
const adapt = createVue2Adapter({
extend: Vue.extend.bind(Vue),
nextTick: Vue.nextTick.bind(Vue),
set: Vue.set.bind(Vue),
delete: Vue.delete.bind(Vue),
});
export default {
components: { CheckIcon: adapt(lucideCheckIcon) },
};
</script>
<template>
<p><span aria-hidden="true"><CheckIcon :size="18" :strokeWidth="2" /></span> Saved</p>
</template>The example shows a check with “Saved”; the application controls their layout. The ordinary host wrapper hides the decorative icon, while the visible text carries the meaning. The gallery is a source preview, not a four-Adapter execution receipt; exercise the selected package set before treating the example as tested.
Props and authoring
Section titled “Props and authoring”The name-based lucideIcon / asLucideIcon entry accepts name (default circle). Every fixed-glyph prototype, such as lucideCheckIcon, retains its glyph and accepts the shared visual props:
| Prop | Type | Default |
|---|---|---|
size | positive finite number | 24 |
strokeWidth | positive finite number | 2 |
stroke | string | currentColor |
fill | string | none |
An invalid name falls back to circle; non-finite or non-positive dimensions fall back to their defaults. The SVG uses viewBox="0 0 24 24". A fixed glyph does not accept a changing name.
For Prototype authoring, renderLucideCheckIcon(renderer, { size: 18 }) appends the SVG to an existing renderer; asLucideCheckIcon() is the fixed-glyph hook. Gallery render fragments belong inside a Prototype render callback. They are not a standalone React/Vue component or a complete application by themselves.
The current icon protocol has no decorative, accessible-label, title or role prop. Put meaningful text or an accessible name on the owning control and handle decorative visibility at the host boundary; a rendered SVG alone does not settle accessibility.
Source and evidence
Section titled “Source and evidence”P-LUCIDE-ICON remains draft and represents one protocol shared by all generated glyphs. The current source derives from lucide-static@1.8.0; Proto UI is an unofficial consumption layer. Preserve the Lucide/Feather notices, source manifest and existing evidence. Source availability, registry installation and current native/assistive-technology acceptance are separate results.