Skip to content

Filament Text

Type that switches on like a filament. Each glyph goes white-hot in a quick left-to-right stagger, then cools through the accent ramp to the text colour, its temperature on a critically damped spring.

$149 once · every Pro piece

Customize

Afterwards only one glyph stays alight, the final full stop by default, breathing slowly; hovering a word switches it on again. Plays on mount, the first time it is in view, or on demand, and takes several lines. The text is read once by screen readers.

Install

npx shadcn@latest add @obsyde/filament-text

Needs your licence key · Get Pro

Usage

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

import { FilamentText } from '@/components/obsyde/ember/filament-text/FilamentText';

export function Example() {
  return (
    <FilamentText text="Switched on once." />
  );
}

Files

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

  • ember/filament-text/FilamentText.tsxcomponent
  • ember/filament-text/filament-text-demo.cssstyles
  • ember/filament-text/filament-text.cssstyles
  • ember/filament-text/FilamentTextDemo.tsxdemo
  • ember/effects-kit/kit.tsshared
  • ember/shared/accent.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
textTextstring'Switched on once.'
triggerTrigger'visible' | 'mount' | 'manual''visible'
sizeSize (px)number72
weightWeightnumber600
staggerStagger (ms)number25
coolingCooling (ms)number1200
emberEmber glyph'last' | 'none''last'
hoverRelightRelight on hoverbooleantrue