Keyboard Key Component
This responsive component renders customizable keyboard keys suitable for various applications, adapting elegantly to both dark and light modes. Utilize the KeyboardKey
component in your project by simply setting the character
prop to display the desired key.
⌘⇧SpaceK
Usage
To incorporate the KeyboardKey
component into your project, simply import it and pass the character
prop as illustrated below:
Source Code
Create the KeyboardKey
component in @/app/components/KeyboardKey.tsx
following this structure: