Skip to content

Molten Text

Display type filled with slowly flowing metal.

$149 once · every Pro piece

Customize

A WebGL shader reads the glyphs from a texture with two blurred copies for a rounded bevel, reflects a striped environment through it as dark chrome, and runs a narrow hot core band through the letters from a drifting noise field. Moving the pointer stirs a swirl into the flow; without WebGL the text keeps a static metal gradient with one thin hot line.

Install

npx shadcn@latest add @obsyde/molten-text

Needs your licence key · Get Pro

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { MoltenText } from '@/components/obsyde/ember/molten-text/MoltenText';

export function Example() {
  return (
    <MoltenText text="Molten" />
  );
}

Files

What you get with Pro: plain React, TypeScript and CSS, with no dependencies.

  • ember/molten-text/MoltenText.tsxcomponent
  • ember/molten-text/molten-text-demo.cssstyles
  • ember/molten-text/molten-text.cssstyles
  • ember/molten-text/MoltenTextDemo.tsxdemo
  • ember/type-kit/kit.tsshared
  • ember/shared/accent.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
textTextstring'Molten'
heatHeatnumber0.45
speedFlow speednumber1
sizeSize (px)number148
weightWeightnumber800
interactiveStir with pointerbooleantrue