Appearance
适用于 Svelte 的 Lucide
🌐 Lucide for Svelte
Lucide 提供了一个 Svelte 图标组件库,使在 Svelte 应用中集成图标变得容易。每个图标都可以作为独立的 Svelte 组件使用,允许无缝集成和自定义。
🌐 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.
功能列表:
🌐 List of features:
- 易于使用:将图标作为 Svelte 组件导入,并在你的 Svelte 组件中直接使用它们与 JSX。
- 可定制:通过 props 和全局上下文调整尺寸、颜色及其他属性。
- 可树摇:最终包中只包含你使用的图标
- TypeScript 支持:完全类型化的组件,提升开发者体验。
概览
🌐 Overview
入门Learn how to get started with Lucide for Svelte.从 v0 迁移Learn how to migrate from v0 to v1 of Lucide.
基础知识
🌐 Basics
颜色Adjust the color of your icons尺寸Adjust the size of your icons描边宽度Adjust the stroke width of your icons
高级
🌐 Advanced