Appearance
适用于 Preact 的 Lucide
🌐 Lucide for Preact
Lucide 提供了一个 Preact 图标组件库,使在 Preact 应用中集成图标变得容易。每个图标都可以作为独立的 Preact 组件使用,允许无缝集成和自定义。
🌐 Lucide provides a Preact icon component library that makes it easy to integrate icons into your Preact applications. Each icon is available as a standalone Preact component, allowing for seamless integration and customization.
功能列表:
🌐 List of features:
- 易于使用:将图标作为 Preact 组件导入,并在你的 Preact 组件中通过 JSX 直接使用它们。
- 可自定义:通过属性调整大小、颜色和其他属性。
- 可树摇:最终包中只包含你使用的图标
- TypeScript 支持:完全类型化的组件,提升开发者体验。
概览
🌐 Overview
入门Learn how to get started with Lucide for PReact.从 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
类型脚本All exported types and how to use them无障碍Making your icons accessible全局样式Apply global styles to all icons与 Lucide LabUsing lucide-lab with lucide-preact填充图标Using filled icons in lucide-preact别名Using aliased icon names组合图标Combine multiple icons into one
资源
🌐 Resources