Components
Tabs
Show equivalent commands or implementations without duplicating a section.
Tabs group equivalent content such as package-manager commands. They use native radio controls and CSS, so the selected panel works in prerendered HTML.
Example
pnpm create foldocs my-docsnpm create foldocs@latest my-docsAuthoring guidance
Keep tab labels short and use the same ordering across pages. Do not hide different concepts behind tabs merely to reduce vertical length.
Last updated Aug 2, 2026