Skip to content

Theemo / @theemo/figma / getNameFromText

Function: getNameFromText()

ts
function getNameFromText(node): string;

Defined in: packages/figma/src/defaults.ts:89

Default implementation for `getNameFromText()`

Returns the name of the node in lowercase

Parameters

ParameterTypeDescription
nodeNode<"TEXT">Figma Text Node

Returns

string

Normalized name

See

Documentation