Skip to content

Link component updates#524

Draft
flacoman91 wants to merge 6 commits intomainfrom
rad-link-configurable-example
Draft

Link component updates#524
flacoman91 wants to merge 6 commits intomainfrom
rad-link-configurable-example

Conversation

@flacoman91
Copy link
Collaborator

This PR removes the type property from the Link component in favor of the appearance prop to make it like the Button component

It would be simpler to just keep things as appearance for both Button and Link

valid params can now be Warning or Destructive

Changes

  • Replace type property with appearance in Link Component
  • Add warning as a valid value for appearance to make it similar to the Button component
  • Added configurable options so you can configure the Link component in the Storybook demo

How to test this PR

  1. go to demo link, play with options and confirm both Link and Link isButton renderings are correct

Screenshots

Notes

@github-actions
Copy link

github-actions bot commented Mar 12, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cfpb.github.io/design-system-react/pr-previews/pr-524/

Built to branch gh-pages at 2026-03-20 15:20 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant