Skip to main content

fluid

Node Type ID: "studio.tokens.math.fluid"

Package

This is a core package available at Graph Engine

To install

npm install @tokens-studio/graph-engine

Description

Fluid node allows you to dynamically calculates a dimension based on the current viewport width, transitioning smoothly between a minimum and maximum dimension as the viewport width changes within a defined range (from min viewport to max viewport)

Inputs

maxSize

No description

maxViewport

No description

minSize

No description

minViewport

No description

viewport

No description

Outputs

value

No description

Example

No examples