Skip to content

Site Main

The page landmark of a site: a main element with the id that the skip link jumps to. Install Site Main from the VLLNT UI registry with the shadcn CLI.

Supported platforms:Web
Report a bug

Preview

Switch between light and dark to inspect the embedded Storybook preview.

The page landmark of a site: a main element with the id that the skip link jumps to. Part of the navigation family in VLLNT UI, it ships as a machine-readable registry entry — copy the source directly into your app with the shadcn CLI and own it, no runtime dependency on a component library.

Platform comparison

PlatformDependenciesCapabilities
Web@vllnt/ui@^0.3.0Browser rendering, DOM events, and ARIA semantics
Native—Not available

Installation

Add Site Main to your project with the shadcn CLI. The source lands in your codebase, ready to adapt:

pnpm dlx shadcn@latest add https://ui.vllnt.com/r/site-main.json

Source

Stories

Explore every variant and state in the interactive Storybook:

Theme