Skip to content

Add <cfpb-tagline>#2563

Merged
anselmbradford merged 2 commits intomainfrom
ans_add_tagline
Mar 20, 2026
Merged

Add <cfpb-tagline>#2563
anselmbradford merged 2 commits intomainfrom
ans_add_tagline

Conversation

@anselmbradford
Copy link
Copy Markdown
Member

@anselmbradford anselmbradford commented Mar 19, 2026

Add an official government website tagline, which has an islarge option and allows passing in custom text from a <slot>.

Additions

  • Add <cfpb-tagline>

Testing

  1. yarn build && yarn start and visit http://localhost:4000/design-system/components/elements and see the tagline examples

Screenshots

Screenshot 2026-03-19 at 12 21 21 PM

@anselmbradford
Copy link
Copy Markdown
Member Author

This'll replace cfpb/design-system-react#531

Copy link
Copy Markdown
Collaborator

@itsmedavep itsmedavep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I built and verified that the web component visually was correct and inspected the page to ensure slot details were correct.

@anselmbradford anselmbradford merged commit ceed540 into main Mar 20, 2026
3 checks passed
@anselmbradford anselmbradford deleted the ans_add_tagline branch March 20, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants