daifengqi / reactoy

React toys made for fun (or work :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reactoy

toys made for fun (or work :)

use

npm i reactoy

components

Text effects with dual-colored shadow.

import { Dual } from "reactoy";

function App() {
  return (
    <>
      <Dual
        content={"Hi Reactoy"}
        width={500}
        height={120}
        color={["#25F4EE", "white", "#FE2C55"]}
        fontSize={80}
        fontFamily={"Sans"}
        fontStyle={"normal"}
        fontWeight={"bold"}
        offset={"lg"}
        letterSpacing={2}
        shadow
      />
    </>
  );
}

ps

will include more React things, not only UI components but context/hooks. Let's see.

About

React toys made for fun (or work :)

License:MIT License


Languages

Language:TypeScript 81.0%Language:JavaScript 19.0%