Skip to content

Add text transform options to kbd #5227

@stijns96

Description

@stijns96

Package

v4.x

Description

I'm writing a client docs where I want to use the kbd typography component to make a small deviation between code and kbd. The value of kbd can be a small sentence that the user has to type in their system.

Would be very nice to have some text transform options here as the actual text is uppercased, instead of the TW class uppercase.

Additional context

Open to open a PR, but would like to have an opinion first and how I should approach this. Either build it within useKbd or simply by adding TW classes where uppercase is the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestp3-lowMinor cosmetic, edge case, or documentation issuev4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions