ZeroGravity UI

Typographystable

Phosphor

CRT text

Type burned into a tube: scanlines, bloom and three guns that disagree.

PHOSPHOR

Customize

Tubeone gun per channel, and a mask in front of them
text
0.60bloom
4 pxscanline
2.00 pxfringe
0.40jitter
color

Usage

TSX
import { Phosphor } from "zerogravity/phosphor"

<Phosphor
    text="PHOSPHOR"
/>

Generated from the controls above. Only props that differ from their defaults are shown.

Props

7 documented props on Phosphor
PropertyTypeDefaultDescription
textstring"PHOSPHOR"Text.
bloomnumber0.6Bloom. Range 0 to 1.
scanlinenumber4Scanline. Range 0 to 16 px.
fringenumber2Fringe. Range 0 to 10 px.
jitternumber0.4Jitter. Range 0 to 1.
colorstring"#54ffbe"Phosphor.
as"span" | "h1" | "h2" | "h3" | "p""span"The tag the text is rendered as.

Dependencies

0 external runtime dependencies

Ships with nothing but React.