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
text0.60
bloom4 px
scanline2.00 px
fringe0.40
jittercolorUsage
import { Phosphor } from "zerogravity/phosphor"
<Phosphor
text="PHOSPHOR"
/>Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
text | string | "PHOSPHOR" | Text. |
bloom | number | 0.6 | Bloom. Range 0 to 1. |
scanline | number | 4 | Scanline. Range 0 to 16 px. |
fringe | number | 2 | Fringe. Range 0 to 10 px. |
jitter | number | 0.4 | Jitter. Range 0 to 1. |
color | string | "#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.