Skip to content

natalystx/css-in-js-server-component-poc

Repository files navigation

POC CSS-in-JS in NextJS 13

First, you need to import

import CSS from "@app/lib/css/component";

and paste in the body in layout.tsx

How to style your element

import { css } from "@app/lib/css";

The usage of css function is same as the css`` from @emotion/css

Want to use

Feel free to copy the lib folder and drop in your project

Required Package

npm i aes-js
npm i @types/aes-js -D

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published