raystack / raystack/apsara

[Headline] Add configurable heading level

Open
#619 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.