Radiant is a Tailwind UI site template built using Tailwind CSS and Next.js, with a blog powered by Sanity.
To get started with this template, first install the npm dependencies:
npm install
Next, create a new Sanity project to power the blog within this template:
npm create sanity@latest -- --env=.env.local --create-project "Radiant Blog" --dataset production
This will prompt you to create a new Sanity account if you don't have one already. When asked "Would you like to add configuration files for a Sanity project in this Next.js folder?", choose "n".
Next, optionally import the demo seed data for the blog:
npx sanity@latest dataset import seed.tar.gz
Next, run the development server:
npm run dev
Finally, open http://localhost:3000 in your browser to view the website.
To manage your blog content, visit the embedded Sanity Studio at http://localhost:3000/studio.
You can start editing this template by modifying the files in the /src
folder. The site will auto-update as you edit these files.
This site template is a commercial product and is licensed under the Tailwind UI license.
To learn more about the technologies used in this site template, see the following resources:
- Tailwind CSS - the official Tailwind CSS documentation
- Next.js - the official Next.js documentation
- Headless UI - the official Headless UI documentation
- Sanity - the Sanity website