Allow hiding the Footer stripe through an optional prop

Open Beginner friendly
#355 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
storybook, typescript
Domain
frontend

Research direction

Find the Footer component, its props documentation, and its Storybook stories. Read how the component renders the stripe and handles optional props, then add the requested example and verify the default still shows the stripe while showStripe={false} hides it without extra spacing.

Written by the indexing model from the issue text.

Description

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.

The Footer component always renders its decorative stripe. Applications such as Dictaphone need to display the footer without it and currently rely on a CSS override targeting .c__footer__stripe.

This creates a dependency on the component’s internal markup and class names.

Describe the solution you'd like

Add a showStripe boolean prop to Footer, defaulting to true to preserve existing behavior.

When showStripe={false}, the component should omit the stripe without leaving extra spacing.

Describe alternatives you've considered

Hiding the stripe through application CSS:

.c__footer__stripe {
  display: none;
}

This works but requires consumers to know and target an internal class. A dedicated prop would make this supported variation explicit.

Discovery, Documentation, Adoption, Migration Strategy

Document showStripe in the Footer props and add a Storybook example showing the footer without its stripe:

<Footer
  showStripe={false}
  legalLinks={legalLinks}
  externalLinks={externalLinks}
/>

The default preserves existing rendering, so no migration is required. Applications hiding the stripe through CSS can adopt the prop and remove their overrides.

Do you want to work on it through a Pull Request?

To be confirmed.

Dominant language
TypeScript
Stars
36
Forks
14
Avg merge
2d 10h
Merged PRs (30d)
12

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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 suitenumerique/ui-kit

All issues in suitenumerique/ui-kit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.