mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-07-14 14:20:19 +02:00
53 lines
1.9 KiB
Markdown
53 lines
1.9 KiB
Markdown
|
|
---
|
|||
|
|
title: Lucide for React
|
|||
|
|
description: Lucide provides a React icon component library that makes it easy to integrate icons into your React applications. Each icon is available as a standalone React component, allowing for seamless integration and customization.
|
|||
|
|
nextPage:
|
|||
|
|
- getting-started
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
<script setup>
|
|||
|
|
import OverviewLink from '../../.vitepress/theme/components/base/OverviewLink.vue'
|
|||
|
|
import OverviewLinkGrid from '../../.vitepress/theme/components/base/OverviewLinkGrid.vue'
|
|||
|
|
import { reactSidebar } from '../../.vitepress/sidebar/react'
|
|||
|
|
</script>
|
|||
|
|
|
|||
|
|
<!--@include: ../../../docs/images/package-logos/lucide-react.svg -->
|
|||
|
|
|
|||
|
|
# Lucide for React
|
|||
|
|
|
|||
|
|
Lucide provides a React component library for using icons in your applications. Each icon is available as a standalone component that renders an optimized inline SVG.
|
|||
|
|
|
|||
|
|
List of features:
|
|||
|
|
|
|||
|
|
- **Easy to use** – Import icons and use them directly in JSX.
|
|||
|
|
- **Customizable** – Adjust size, color, stroke width, and other properties via props.
|
|||
|
|
- **Tree-shakable** – Only the icons you import are included in your final bundle.
|
|||
|
|
- **TypeScript support** – Fully typed components for a better developer experience.
|
|||
|
|
|
|||
|
|
## Overview
|
|||
|
|
|
|||
|
|
<OverviewLinkGrid>
|
|||
|
|
<OverviewLink v-for="item in reactSidebar[0].items.slice(1)" :key="item.link" :href="item.link" :title="item.text" :desc="item.desc"/>
|
|||
|
|
</OverviewLinkGrid>
|
|||
|
|
|
|||
|
|
### Basics
|
|||
|
|
{{''}}
|
|||
|
|
|
|||
|
|
<OverviewLinkGrid>
|
|||
|
|
<OverviewLink v-for="item in reactSidebar[1].items" :key="item.link" :href="item.link" :title="item.text" :desc="item.desc"/>
|
|||
|
|
</OverviewLinkGrid>
|
|||
|
|
|
|||
|
|
### Advanced
|
|||
|
|
{{''}}
|
|||
|
|
|
|||
|
|
<OverviewLinkGrid>
|
|||
|
|
<OverviewLink v-for="item in reactSidebar[2].items" :key="item.link" :href="item.link" :title="item.text" :desc="item.desc"/>
|
|||
|
|
</OverviewLinkGrid>
|
|||
|
|
|
|||
|
|
### Resources
|
|||
|
|
{{''}}
|
|||
|
|
|
|||
|
|
<OverviewLinkGrid>
|
|||
|
|
<OverviewLink v-for="item in reactSidebar[3].items" :key="item.link" :href="item.link" :title="item.text" :desc="item.desc"/>
|
|||
|
|
</OverviewLinkGrid>
|