Meta tags
Checked against c430ebe on 2026-11-10. The files it covers are unchanged since.
niso-platform-style
Section titled “niso-platform-style”<meta name="niso-platform-style" content="auto">Gives the page the platform’s base style and its --niso-* tokens, in a
niso-platform cascade layer where the meta is in the head.
| content | Sheet |
|---|---|
auto |
the platform niso is built for: ios when built for iOS and iPadOS, android for Android, and web everywhere else, including macOS, tvOS, visionOS, watchOS, Linux and headless |
ios, android, web |
that platform’s sheet, wherever the page runs |
off |
none |
Only the first such meta in the head counts. Changing its content, or
removing it, swaps or removes the sheet live. The code is
crates/niso-core/src/prelude.rs; the sheets are in crates/niso-core/ua/.
See Platform style.
viewport-fit=cover
Section titled “viewport-fit=cover”<meta name="viewport" content="width=device-width, viewport-fit=cover">By default a page sits inside the safe area. With viewport-fit=cover in the
last viewport meta of the head, it’s laid out under the status bar, the
cutouts and the home indicator, and keeps its content clear of them with the
--niso-safe-* tokens (env(safe-area-inset-*) is always 0 in niso’s style
engine).
Other viewport keys, including interactive-widget, aren’t read.