Add OS-Aware Shortcut Rendering to Kbd Component #8567
                  
                    
                      jerneumann
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Idea:
For the new Kbd component, would it fall within the intended scope of shadcn-ui components to support OS-aware shortcut rendering? For example, the component could detect the user’s operating system and automatically display the correct symbols:
Example Behavior:
Detect the user’s operating system and automatically display the correct shortcut symbols:
Rationale:
This feature would reduce the need to manually include both versions of shortcuts, improve consistency for end users, and simplify developer workflow.
Beta Was this translation helpful? Give feedback.
All reactions