DEV Community

Cover image for 3D typography with react-ztext
Safi Nettah
Safi Nettah

Posted on

3D typography with react-ztext

Hello,

I share with you my implementation of Ztext in React

The idea of Bennett Feely is simple but brillant, the description from bennettfeely.com:

Ztext gives the illusion of volume by creating layers from an HTML element. There's no need to spend hours fiddling with or forcing users to download multi-megabyte WebGL libraries. With ztext, content remains fully selectable and accessible. Over 98% of users use a web browser that supports the CSS transform-style property, which ztext needs to work. In unsupported browsers, ztext gracefully turns off.

try here: CodeSandbox

contribute here: Github

Top comments (0)