Add `TextRect` component to easily add backgrounds to `Text` components
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 41
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 16
Description
Would be very helpful when using Svg and Canvas layers to easily add a Rect as a background behind a Text. Getting the dimensions (and support a padding attribute) will take some thought.
This could also be directly integrated into Text as:
<Text background="...">, <Text bg="...">, etc
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Text, Rect, Svg, and Canvas components and reviewing how text dimensions are obtained. Clarify whether the work should add a standalone TextRect component or background and padding support to Text, then define the expected dimension and padding behavior before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100