| 1 |
--- |
| 2 |
id: Jump links |
| 3 |
section: components |
| 4 |
cssPrefix: pf-v6-c-jump-links |
| 5 |
propComponents: ['JumpLinks', 'JumpLinksItem'] |
| 6 |
--- |
| 7 |
|
| 8 |
## Examples |
| 9 |
|
| 10 |
These examples are static because they have no element to scroll spy on that makes sense. Check out the [React demos](./react-demos) to see scroll spying in action! |
| 11 |
|
| 12 |
### Basic |
| 13 |
```ts file='./JumpLinksBasic.tsx' |
| 14 |
``` |
| 15 |
|
| 16 |
### With centered list |
| 17 |
```ts file='./JumpLinksWithCenteredList.tsx' |
| 18 |
``` |
| 19 |
|
| 20 |
### With label |
| 21 |
```ts file='./JumpLinksWithLabel.tsx' |
| 22 |
``` |
| 23 |
|
| 24 |
### Vertical |
| 25 |
```ts file='./JumpLinksVertical.tsx' |
| 26 |
``` |
| 27 |
|
| 28 |
### Vertical with label |
| 29 |
```ts file='./JumpLinksVerticalWithLabel.tsx' |
| 30 |
``` |
| 31 |
|
| 32 |
### Expandable vertical with subsection |
| 33 |
```ts file='./JumpLinksExpandableVerticalWithSubsection.tsx' |
| 34 |
``` |
| 35 |
|