This is a Next.js + Chakra UI Typescript project bootstrapped with nextjs-chakra-boilerplate
.
First install dependencies:
npm install
# or
yarn install
Then, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
npm run get_shades 00000
Theme Color Shades 0.1.8
Hello! Here is your requested shades using 000000 as reference:
{
"50": "#f4f0f0",
"100": "#ddd5d5",
"200": "#c2bcbc",
"300": "#a6a6a6",
"400": "#8c8c8c",
"500": "#737373",
"600": "#595959",
"700": "#433d3d",
"800": "#2a2222",
"900": "#0f0b0b"
}
theme/Animations/simpleVariants
import { animationVariants } from 'theme/Animations/simpleVariants';
import {motion} from 'framer/motion';
import {Heading} from '@chakra-ui/react';
const MotionHeading = motion(Heading);
<MotionHeading
initial={'hidden'}
animate={'visible'}
variants={animationVariants}
>
I'm an animated Heading
</Heading>
This repository also contains a script to create components
./createComponent.sh -a ComponentName
npm test