Skip to Content
Notion UI

IconData

Icon data for emoji, images, text, and icon libraries.

Properties

Prop

Type

Icon Type Objects

Emoji

Properties

Prop

Type

Example

{
  type: "emoji",
  src: "🚀"
}

Lucide Icon

Properties

Prop

Type

Example

{
  type: "lucide",
  src: "file",
  color: "#7d7d7d"
}

Custom Icon

Properties

Prop

Type

Example

{
  type: "url",
  src: "https://github.com/shadcn.png"
}

Text-like Icon

Properties

Prop

Type

Example

{
  type: "text",
  src: "A"
}

On this page