
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
@dev_imlab/react-hangul-keyboard
Advanced tools
React Virtual Keyboard Korean, English Supported.
react-simple-keyboard
라이브러리가 한글을 정상적으로 지원하지 않기 때문에 hangul.js
라이브러리의 assemble
를 활용하여 한글의 받침 이슈를 처리하는 hangul-virtual-keyboard
라이브러리를 기반으로 레이아웃 커스텀 기능과 타입을 추가했습니다.
npm install @dev_imlab/react-hangul-keyboard
import { useState } from 'react';
import Keyboard from 'react-hangul-keyboard';
const App = () => {
const [text, setText] = useState('아이엠랩');
return (
<>
<p>{text}</p>
<KeyBoard getText={setText} defaultText={text} />
</>
);
};
export default App;
global.css
에 반드시 다음 내용을 포함해야 합니다.
.hg-theme-default {
width: 100%;
user-select: none;
box-sizing: border-box;
overflow: hidden;
touch-action: manipulation;
}
.hg-theme-default .hg-button span {
pointer-events: none;
}
/* When using option "useButtonTag" */
.hg-theme-default button.hg-button {
border-width: 0;
outline: 0;
font-size: inherit;
}
.hg-theme-default {
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue',
Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: #ececec;
padding: 5px;
border-radius: 5px;
}
.hg-theme-default .hg-button {
display: inline-block;
flex-grow: 1;
cursor: pointer;
}
.hg-theme-default .hg-row {
display: flex;
}
.hg-theme-default .hg-row:not(:last-child) {
margin-bottom: 5px;
}
.hg-theme-default .hg-row .hg-button:not(:last-child) {
margin-right: 5px;
}
.hg-theme-default .hg-row .hg-button-container {
margin-right: 5px;
}
.hg-theme-default .hg-row > div:last-child {
margin-right: 0;
}
.hg-theme-default .hg-row .hg-button-container {
display: flex;
}
.hg-theme-default .hg-button {
box-shadow: 0px 0px 3px -1px rgba(0, 0, 0, 0.3);
height: 40px;
border-radius: 5px;
box-sizing: border-box;
padding: 5px;
background: white;
border-bottom: 1px solid #b5b5b5;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.hg-theme-default .hg-button.hg-button-enter {
min-width: 100px;
}
.hg-theme-default .hg-button.hg-activeButton {
background: #efefef;
}
.hg-theme-default.hg-layout-numeric .hg-button {
width: 33.3%;
height: 60px;
align-items: center;
display: flex;
justify-content: center;
}
.hg-theme-default .hg-button.hg-button-numpadadd {
height: 85px;
}
.hg-theme-default .hg-button.hg-button-numpadenter {
height: 85px;
}
.hg-theme-default .hg-button.hg-button-numpad0 {
width: 105px;
}
.hg-theme-default .hg-button.hg-button-com {
max-width: 85px;
}
.hg-theme-default .hg-button.hg-standardBtn.hg-button-at {
max-width: 45px;
}
.hg-theme-default .hg-button.hg-selectedButton {
background: rgba(5, 25, 70, 0.53);
color: white;
}
.hg-theme-default .hg-button.hg-standardBtn[data-skbtn='.com'] {
max-width: 82px;
}
.hg-theme-default .hg-button.hg-standardBtn[data-skbtn='@'] {
max-width: 60px;
}
FAQs
React Virtual Keyboard Korean, English Supported.
The npm package @dev_imlab/react-hangul-keyboard receives a total of 0 weekly downloads. As such, @dev_imlab/react-hangul-keyboard popularity was classified as not popular.
We found that @dev_imlab/react-hangul-keyboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.