Rasengan Logo
Rasengan Logo
  • Docs
  • Blog
  • Showcase
Using stable versionv1.2.1
Documentation
Packages
Templates
Rasengan UI Kit
Using stable versionv1.2.1
Documentation
Packages
Templates
Rasengan UI Kit

API REFERENCE

Template

The HTML template component is a simple component that allows you to define the base structure of your html content inside your application.

This file is required and has to be defined into the src folder.

Usage

TypeScript
JavaScript
src/template.tsx
import { TemplateProps } from "rasengan"; export default function Template({ Head, Body, Script }: TemplateProps) { return ( <html lang="en"> <Head> <meta charSet="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> </Head> <Body> <Script /> </Body> </html> ) }

Props

The Template component has the following properties:

  • Head: The head of the component. It's used to define the head of the html document.
  • Body: The body of the component. It's used to define the body of the html document.
  • Script: The script of the component. It's used to define the script of the html document.
Component
Layout Component

On This Page

  • Usage
  • Props

Discover Plus Ultra ✨

A stunning and well crafted Portfolio website to showcase your work in a nice way.

Rasengan Logo
Rasengan Logo

Resources

  • Docs
  • Packages
  • Blog
  • Showcase
  • Support us

Products

  • Rasengan UI
  • Rasengan Hub
  • Chidori
  • Nindo
  • Chunin

Community

  • Github
  • X (Twitter)

Subscribe to the Newsletter

Stay informed to the news about rasengan.js including new releases, events, etc...

© 2024-2026 Rasengan Labs, All rights reserved.