import {MinimalFooter} from '@primer/react-brand'
<MinimalFooter />
<MinimalFooter><MinimalFooter.Link href="https://github.com/organizations/enterprise_plan">Try GitHub for free</MinimalFooter.Link><MinimalFooter.Link href="https://github.com/enterprise">Enterprise</MinimalFooter.Link><MinimalFooter.Link href="https://github.com/enterprise/contact">Email us</MinimalFooter.Link></MinimalFooter>
<MinimalFooter><MinimalFooter.Footnotes><Text><sup>1</sup>By signing up, GitHub may use your information to personalizeand measure the effectiveness of enterprise business ads, including thoseyou see off of GitHub, promotional communications or marketing you receiverelated to the Enterprise Marketing Pages. We will send you relevantemails and promotional information based on your GitHub profile and anyadditional information provided in the sign-up form. If you change yourmind, you can unsubscribe at any time (an unsubscribe link is provided inevery email). For more information on how GitHub uses your personalinformation, please see the{' '}<InlineLinkhref="https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement"target="_blank">GitHub Privacy Statement</InlineLink>.</Text></MinimalFooter.Footnotes></MinimalFooter>
MinimalFooter
will render all supported social links by default. Social links can be removed however, by passing socialLinks={false}
. Alteratively, pass an array of valid social links to filter the default list.
Hide all social links:<MinimalFooter socialLinks={false} /><br />Only show GitHub social link:<MinimalFooter socialLinks={['github']} />
Name | Type | Default | Description |
---|---|---|---|
className | string | Sets a custom class on the root element | |
children | 'MinimalFooter.Link' 'MinimalFooter.Footnotes' | undefined | Valid child components |
copyrightStatement | string | ReactElement | The copyright statement to be displayed in the footer. | |
logoHref | string | 'https://github.com' | The href for the GitHub logo. |
socialLinks | ['twitter', 'github', 'linkedin', 'youtube', 'facebook', 'twitch', 'tiktok'] | false | ['twitter', 'github', 'linkedin', 'youtube', 'facebook', 'twitch', 'tiktok'] | Array of valid strings or false to hide all links |
Name | Type | Default | Description |
---|---|---|---|
href | string | undefined | Required. URL of the page the link goes to |
children | string | undefined | Link label text |
Name | Type | Default | Description |
---|---|---|---|
children | ReactElement | undefined | Use Primer Brand Text components to benefit from inherited styling. |