SiteNav
Floating pill navbar. Full-width at scroll 0, pill with border and shadow when scrolled. Logo, page links, login and register buttons.
8 tokens
Preview
Usage
import { SiteNav } from '@/components/site-nav'
<SiteNav />Tokens used
This component reads these tokens directly: change one on a Foundations page and it updates here and across the site.
Background
#FFFFFF--ds-bgText primary
#1E1E1E--ds-textText muted
#6B7280--ds-text-mutedBorder
#E5E7EB--ds-borderAccent
#00F15E--ds-accentContent max width
1920px--ds-content-maxContent padding X
5rem--ds-content-pxTransition speed
300ms--ds-transition