Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 603 Bytes

File metadata and controls

28 lines (20 loc) · 603 Bytes

import { TextGradient } from '@blocks/kit' import TableOfProps from '../../src/table-of-props'

TextGradient

The TextGradient is a tiny little component to set a text gradient. You can also optionally pass it random={true} to get a new gradient each time it renders.

Hello, world!

<TextGradient start='#21D4FD' end='#B721FF'>
  <h1>Hello, world!</h1>
</TextGradient>

Usage

import { TextGradient } from '@blocks/kit'

Table of properties