ZeroGravity UI

Typographystable

Kern

Glyphs that open up, lift and gain weight as the pointer passes them.

TYPESET

Customize

Opticalper-glyph response to pointer distance
text
88 pxsize
160 pxradius
0.340spread
12 pxlift
320weight
0.180ease

Usage

TSX
import { Kern } from "zerogravity"

<Kern />

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

Props

7 documented props on Kern
PropertyTypeDefaultDescription
textstring"TYPESET"Text.
sizenumber88Size. Range 32 to 180 px.
radiusnumber160Radius. Range 40 to 500 px.
spreadnumber0.34Spread. Range 0 to 1.
liftnumber12Lift. Range 0 to 60 px.
weightnumber320Weight axis. Range 0 to 500.
easenumber0.18Ease. Range 0.02 to 1.

Dependencies

0 external runtime dependencies

Ships with nothing but React.