diff --git a/docs/docs/Components/components-custom-components.md b/docs/docs/Components/components-custom-components.md index bb6d3aa00..2cf57403f 100644 --- a/docs/docs/Components/components-custom-components.md +++ b/docs/docs/Components/components-custom-components.md @@ -41,6 +41,10 @@ class MyCsvReader(Component): * **name**: A unique internal identifier. * **documentation**: An optional link to external docs. +:::tip Icon usage +Langflow uses [Lucide](https://lucide.dev/icons) for icons. To assign an icon to your component, set the icon attribute to the name of a Lucide icon as a string, such as `icon = "file-text"`. Langflow renders icons from the Lucide library automatically. +::: + ### Structure of a custom component A **Langflow custom component** goes beyond a simple class with inputs and outputs. It includes an internal structure with optional lifecycle steps, output generation, front-end interaction, and logic organization.