IniZio / next-with-twstyled

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example app with linaria

This example features how to use linaria as the styling solution instead of styled-jsx.

We are creating three div elements with custom styles being shared across the elements. The styles includes the use of pseudo-selector and CSS animations.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-linaria with-linaria-app
# or
yarn create next-app --example with-linaria with-linaria-app

Deploy it to the cloud with Vercel (Documentation).

About


Languages

Language:JavaScript 100.0%