YouTip LogoYouTip

Ionic Header Footer

# Ionic Header and Footer * * * ## Header The Header is a component fixed at the top of the screen and can contain elements like a title and left/right functional buttons. Ionic provides many default color styles. You can call different style names, or you can define your own. ### bar-light

bar-light

[Try it Β»](#) ### bar-stable

bar-stable

[Try it Β»](#) ### bar-positive

bar-positive

[Try it Β»](#) ### bar-calm

bar-calm

[Try it Β»](#) ### bar-balanced

bar-balanced

[Try it Β»](#) ### bar-energized

bar-energized

[Try it Β»](#) ### bar-assertive

bar-assertive

[Try it Β»](#) ### bar-royal

bar-royal

[Try it Β»](#) ### bar-dark

bar-dark

[Try it Β»](#) * * * ## Sub Header The Sub Header is also fixed at the top, but it sits below the Header. Even if you don't define a Header, the Sub Header will still have a Header's distance from the top. The color styles are the same as the Header.

Header

Sub Header

[Try it Β»](#) * * * ## Footer The Footer is at the very bottom of the screen and can contain various types of content. [Try it Β»](#) The Footer is similar to the Header above, just replace the style name `bar-header` with `bar-footer`. [Try it Β»](#) Additionally, if the footer has no title but needs a button on the right, you need to add `pull-right` to the right-side button, like this: [Try it Β»](#) [](#)(#) (#)[](#) [Volcengine Coding Plan supports mainstream large models like Doubao, GLM, DeepSeek, Kimi, MiniMax, officially supplied, stable and reliable. Configuration Guide Β₯9.9/month Sign up now](https://maas.xfyun.cn/modelSquare?ch=maas_lm_l2E)
← Ionic ListPhp Imagecolortransparent β†’