Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow CustomLink type to create link menus

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by reading the NavBar and Footer components where menu items are currently created, then trace how their menu props are typed and rendered. Define the expected CustomLink[] input from the issue and verify that supplied names and hrefs appear as menu items in both components.

Written by the indexing model from the issue text.

Description

accepted priority: low

Allow creation of the menu items, currently only in NavBar and Footer, to be created with an array of CustomLink types.

export type CustomLink = {
    name: string;
    href: string;
}

e.g. Something like:

const myLinks: CustomLink[] = [{
    "name":"menu one",
    "href":"/menu/one/"
}]
<NavBar menu={my-links} />
Dominant language
TypeScript
Stars
8
Forks
3
Avg merge
2d 6h
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DiamondLightSource/sci-react-ui

All issues in DiamondLightSource/sci-react-ui

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.