Collection of theme-ui and external components.
created:3/15/2021
updated:3/15/2021
source lines:56
comments %:7

LinkHeading

h1-h6 heading component that generates automatically a github-style anchor to navigate to a section on hover.

Overview

LinkHeading text

({ as, children }) => (
<div style={{ marginLeft: '32px' }}>
<LinkHeading as={as}>{children}</LinkHeading>
</div>
)

Controls

Name
Description
Default
Controls
- (1 properties)
children
text
LinkHeading text
BoxOwnProps (1 properties)

A11y tests

LinkHeading text

Viewport

LinkHeading text

320px

LinkHeading text

375px

LinkHeading text

768px

LinkHeading text

1024px