Skip to content

[Feature]: Expose both dimension sizes for TabsIndicator #2465

@haakonmt

Description

@haakonmt

Describe the feature

Currently, TabsIndicator exposes the --reka-tabs-indicator-size CSS variable, which represents the main dimension of the indicator (width in horizontal orientation and height in vertical orientation).

In some cases, it would be very helpful to also have access to the opposite (cross) dimension as a CSS variable. An example is a vertical tab layout where the width of the indicator should adapt to the content of the tab instead of filling the width of the container.

Would it be possible to expose the cross-axis size as an additional CSS variable?

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions