[Headline] Add configurable heading level
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 70
- Forks
- 13
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 8
Description
Summary
Headline is a custom typography component. Has deprecated size patterns and hardcoded values.
Improvements
3. Allow configurable heading level
If not already supported, allow specifying the HTML heading level (h1-h6) via an as or level prop.
Moved to Cross-Cutting Issues
The following items have been moved to cross-cutting issues that address them across all components:
- Replace hardcoded CSS values with design tokens (#672)
- Forward HTML attributes (#674)
Files
packages/raystack/raystack/components/headline/
Contributor guide
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 in packages/raystack/raystack/components/headline/ and inspect the Headline component's current props and rendered element. Confirm whether an as or level prop already supports h1 through h6, then verify that each supported heading level renders correctly and that the existing component behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- design, frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100