Skip to content

[6.x] Add a Text component#14247

Merged
jackmcdade merged 4 commits into6.xfrom
text-component
Mar 27, 2026
Merged

[6.x] Add a Text component#14247
jackmcdade merged 4 commits into6.xfrom
text-component

Conversation

@jaygeorge
Copy link
Copy Markdown
Contributor

Description of the Problem

Sometimes it would be handy for users to have a <Text> component that lets you specify options like strong, subtle etc etc, for when you want to style text inside a table, or inside a widget.

For example, here you might want to make the callback url and last received to be a "subtle" text variation
image

What this PR Does

  • Adds a text UI component for rendering styled text with consistent variants and sizes
  • Renders as a by default, but configurable via the as prop (span, p, div)

@ryanmitchell
Copy link
Copy Markdown
Contributor

thank you for this ❤️

@jackmcdade jackmcdade self-requested a review March 27, 2026 21:02
@jackmcdade jackmcdade merged commit a2cb018 into 6.x Mar 27, 2026
17 checks passed
@jackmcdade jackmcdade deleted the text-component branch March 27, 2026 21:09
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.

3 participants