Skip to content

Impulse themes is a free theme template collection for (HTML, React, NextJS & Gatsby) with components collection designed by me

Notifications You must be signed in to change notification settings

HarsimranBarki/impulse-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example app with chakra-ui

This example features how to use chakra-ui as the component library within a Next.js app.

We are connecting the Next.js _app.js with chakra-ui's Theme and ColorMode containers so the pages can have app-wide dark/light mode. We are also creating some components which shows the usage of chakra-ui's style props.

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-chakra-ui with-chakra-ui-app
# or
yarn create next-app --example with-chakra-ui with-chakra-ui-app

Deploy it to the cloud with Vercel (Documentation).

Notes

Chakra has supported Gradients and RTL in v1.1. To utilize RTL, add RTL direction and swap.

If you don't have multi-direction app, you should make <Html lang="ar" dir="rtl"> inside _document.js.

About

Impulse themes is a free theme template collection for (HTML, React, NextJS & Gatsby) with components collection designed by me

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published