Page

Container of general for display page content.

General

The content will be displayed in the center.

Preview
See code

Hi my dear!

This is an example to show the body of a page.

Content

Add Header and Footer for better layout.

Preview
See code

Header

Hi my dear!

This is an example to show the body of a page.

Footer

APIs

Page.Props

AttributeDescriptionTypeAccepted valuesDefault
renderrender modePageRenderMode-default
dotBackdropshow decorations in the backgroundboolean-false
dotSizedot size in the backgroundCSSProperties-1px
dotSpacespace multiple between each dotnumber-1
...native propsHTMLAttributes'id', 'className', ...-

Page.Header.Props

AttributeDescriptionTypeAccepted valuesDefault
centeralign centerboolean-false
...native propsHTMLAttributes'id', 'className', ...-

Page.Content.Props[alias: Page.Body]

AttributeDescriptionTypeAccepted valuesDefault
...native propsHTMLAttributes'id', 'className', ...-

Page.Footer.Props

AttributeDescriptionTypeAccepted valuesDefault
...native propsHTMLAttributes'id', 'className', ...-

PageRenderMode

type PageRenderMode =
  | 'default' // Normal rendering
  | 'effect' // Render after the first effect trigger
  | 'effect-seo' // like "effect", but prerender strings for SEO
Edit this page on GitHub

Previous

Note

Next

Pagination

MADE & DESIGNED WITHBY BRUNO ANDRADE
docs background gradient blue
docs background gradient violet