HelixOverviewComponentsMapsGraphIntroductionInstallationDeriving a themeSandboxTheme builderVisual testingCortexDocsEngramActiveTraceActiveRecallActiveServicesInsightsGet in touchSource on GitHub
Loading the reference
TiltView sourceEdit in SandboxView MarkdownCopy MarkdownOpen in ClaudeOpen in CursorLeans its content toward the pointer, as a card held in the hand.Also called Tilt card, Parallax card, 3D card, and Hover tilt.ExperimentalSince 0.241.0ContentImportimport'@fusion.dev/helix/tilt'Preview
API referenceRoothelix-tiltLeans its content toward the pointer, as a card held in the hand.
ReadTypeDescriptionwhenSettledPromise<void>Resolves a frame after the first update, when transitions are switched on.
SlotDescription(default)The content that leans, such as a Card.
PartDescriptionsurfaceThe box that turns, holding the content.
CSS PropertyDescription--tilt-angleHow far the content turns at an edge. Defaults to 8deg.--tilt-perspectiveHow far away the eye is, so a smaller distance turns more steeply. Defaults to 60rem.
Custom stateDescriptionsettledSet one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.tiltingA pointer is over the content, which follows it closely. It settles back once the pointer leaves.
Examples
NameDescriptionPreviewA card that leans toward the mouse and settles flat when it leaves.