Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 570 Bytes

File metadata and controls

27 lines (22 loc) · 570 Bytes
title Title
order 1

Title is a component that renders the title element. This will render the title of the page in the browser tab.

import { Title } from "@solidjs/meta";
<Title>My Site</Title>;

Usage

Setting the title for your site

import { MetaProvider, Title } from "@solidjs/meta";
export default function Root() {
	return (
		<MetaProvider>
			<Title>Default Application Title</Title>
		</MetaProvider>
	);
}