Files
lucide/docs/guide/svelte/index.md

43 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2025-10-14 15:29:55 +02:00
---
title: Overview
nextPage:
- getting-started
---
2025-10-14 13:24:42 +02:00
2025-10-14 15:29:55 +02:00
<script setup>
import OverviewLink from '../../.vitepress/theme/components/base/OverviewLink.vue'
import OverviewLinkGrid from '../../.vitepress/theme/components/base/OverviewLinkGrid.vue'
import { svelteSidebar } from '../../.vitepress/sidebar/svelte'
</script>
2025-10-14 13:24:42 +02:00
2025-10-14 15:29:55 +02:00
<img src="/package-logos/dark/lucide-svelte.svg" alt="Lucide icon library for Svelte applications." width="540" style="margin-bottom: 48px;"/>
2025-10-14 13:24:42 +02:00
2025-10-14 15:29:55 +02:00
# Lucide for Svelte
2025-10-14 13:24:42 +02:00
2025-10-14 15:29:55 +02:00
Lucide provides a Svelte icon component library that makes it easy to integrate icons into your Svelte applications.
Each icon is available as a standalone Svelte component, allowing for seamless integration and customization.
2025-10-14 13:24:42 +02:00
2025-10-14 15:29:55 +02:00
List of features:
- **Easy to Use**: Import icons as Svelte components and use them directly in your Svelte components with JSX.
- **Customizable**: Adjust size, color, and other properties via props and global context.
- **Tree-shakable**: Only the icons you use are included in your final bundle
- **TypeScript Support**: Fully typed components for better developer experience.
2025-10-14 13:24:42 +02:00
2025-10-14 15:29:55 +02:00
## Overview
2025-10-14 13:24:42 +02:00
2025-10-14 15:29:55 +02:00
<OverviewLink href="/guide/svelte/getting-started" title="Getting Started" desc="Learn how to get started with Lucide in your Svelte project."/>
### Basics
{{''}}
<OverviewLinkGrid>
<OverviewLink v-for="item in svelteSidebar[1].items" :key="item.link" :href="item.link" :title="item.text" :desc="item.desc"/>
</OverviewLinkGrid >
### Advanced
{{''}}
<OverviewLinkGrid>
<OverviewLink v-for="item in svelteSidebar[2].items" :key="item.link" :href="item.link" :title="item.text" :desc="item.desc"/>
</OverviewLinkGrid >