npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-footer.json --yesFooter
ProThe closing band of a marketing or a docs page, with its groups of links, legal text and small print, for React and Tailwind CSS. Part of Goop Pro.
import { Footer, FooterGroup, FooterList, FooterLink, FooterText } from '@/components/ui/goop/footer';
<Footer>
<FooterGroup label="Help">
<FooterList>
<FooterLink href="/guides">Guides</FooterLink>
<FooterLink href="/contact">Contact</FooterLink>
</FooterList>
</FooterGroup>
<FooterText>Notes stay yours: export them at any time.</FooterText>
</Footer>Show one to three groups of links and the closing line; press a link and it is written under the footer. The links go nowhere: a press is only written under it.
When to use
- The closing band of a marketing or a docs page, with its groups of links, legal text and small print.
Installation
Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Footer on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing. As a Pro part, its command comes from Goop's server once you sign in, with a one-time link that lasts ten minutes.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-footer.json --yesAdd the Goop Footer to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { Footer, FooterGroup, FooterList, FooterLink, FooterText } from '@/components/ui/goop/footer';
<Footer>
<FooterGroup label="Help">
<FooterList>
<FooterLink href="/guides">Guides</FooterLink>
<FooterLink href="/contact">Contact</FooterLink>
</FooterList>
</FooterGroup>
<FooterText>Notes stay yours: export them at any time.</FooterText>
</Footer>- Fits: marketing: foot.
- height, width, padding, text: add no class for these.
API reference
| Part | What it is |
|---|---|
| FooterGroup | One named group of links; label: string — The group's name, read out for its navigation landmark; two groups of one strip never share one |
| FooterList | The list inside a FooterGroup; put one FooterLink per link (it is the list item), and the links sit in a row that wraps |
| FooterLink | One link of a group; takes asChild; also takes href?: string |
| FooterText | The strip's small print |
- data-slot values (to select a part by): footer, footer-content, footer-group, footer-link, footer-list, footer-text
Keyboard
| Key | What it does |
|---|---|
| Tab | Move to the next link |
Accessibility
- The part itself answers the keys above.
Notes for AI
Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.