Skip to content
WunderUI

useIcon

Free
import { useIcon } from "@wunderui/react"

Installation

useIcon is part of WunderUI Free, in the npm package and in the free source. Import it from :

tsx
import { useIcon } from "@wunderui/react"

Signature

ts
useIcon(name: "link" | "menu" | "search" | "table" | "video" | "filter" | "image" | "stop" | "view" | "collapse" | "copy" | "help" | "hide" | "show" | "reset" | "spinner" | "close" | "send" | "document" | "note" | "timer" | "chevronDown" | "chevronUp" |…): IconComponent

Parameters

ParameterTypeDescription
name"link" | "menu" | "search" | "table" | "video" | "filter" | "image" | "stop" | "view" | "collapse" | "copy" | "help" | "hide" | "show" | "reset" | "spinner" | "close" | "send" | "document" | "note" | "timer" | "chevronDown" | "chevronUp" |…

Returns

Notes for AI

Give your coding assistant the page or the MCP call instead of screenshots.

MCPget_component("useIcon")
Importimport { useIcon } from "@wunderui/react"

The full library index for assistants is at /llms.txt.