
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
@cp949/mui-react19
Advanced tools
MUI 기반의 React 컴포넌트와 훅 라이브러리입니다. MUI의 강력한 기능을 더 편리하게 사용할 수 있도록 설계되었습니다.
main 브랜치는 MUI 9 지원 버전입니다.2.x는 MUI 9 + React 19 전용 버전입니다. React 18은 지원하지 않습니다.1.x 버전 또는 mui7 브랜치에서 유지합니다.1.x 버전 또는 mui7 브랜치를 사용하세요.pnpm add @cp949/mui-react19
모든 컴포넌트는 MUI 기반이므로, App Router 환경에서는 'use client' 지시어가 있는 클라이언트 컴포넌트 내에서 사용해야 합니다.
'use client';
import { Center, FlexRow, Space, TopAbsolute } from '@cp949/mui-react19';
export default function LayoutExample() {
return (
<Center sx={{ height: 200, position: 'relative' }}>
<FlexRow.Between sx={{ width: '100%' }}>
<span>왼쪽</span>
<Space width={20} />
<span>오른쪽</span>
</FlexRow.Between>
<TopAbsolute.Right top={10}>상단 오른쪽 요소</TopAbsolute.Right>
</Center>
);
}
'use client';
import { Spoiler, FileButton, CooldownButton } from '@cp949/mui-react19';
export default function ClientComponent() {
return (
<div>
<CooldownButton cooldownMs={3000} onClick={() => console.log('clicked')}>
쿨다운 버튼
</CooldownButton>
<Spoiler maxHeight={100} showLabel="더보기" hideLabel="숨기기">
긴 내용이 여기에...
</Spoiler>
</div>
);
}
'use client'가 유지됩니다.Portlet 같은 점 표기 컴포넌트(Portlet.Header)는 서버 컴포넌트에서 속성 접근이 되지 않습니다. 서버에서는 PortletHeader, PortletContent, PortletLabel, PortletToolbar, PortletTitle, PortletFooter를 개별 import합니다.@cp949/mui-react19/hooks)은 클라이언트 컴포넌트에서만 호출할 수 있습니다.배포 패키지에 llm.txt가 포함됩니다. AI 코딩 도구가 공개 API 시그니처와 사용 제약을 한 번에 읽을 수 있도록 빌드 시 dist/*.d.ts에서 생성한 영문 요약입니다. 경로는 node_modules/@cp949/mui-react19/llm.txt입니다.
Center - 중앙 정렬 컨테이너Space - 여백 생성FlexRow / FlexColumn - Flex 레이아웃
.Start, .End, .Center, .Between, .Around, .EvenlyTopAbsolute 계열 (4개) - TopAbsolute, .Left, .Right, .CenterCenterAbsolute 계열 (4개) - CenterAbsolute, .Left, .Right, .CenterBottomAbsolute 계열 (4개) - BottomAbsolute, .Left, .Right, .CenterCooldownButton, DebouncedButton - 쿨다운/디바운스 버튼FileButton - 파일 업로드 버튼PasswordTextField - 비밀번호 보기/숨기기 토글이 있는 TextFieldCopyButtonWrapper - 복사 기능 래퍼Spoiler - 스포일러/더보기 컴포넌트Hide, Show - 조건부 렌더링 유틸리티Paper - MUI Paper 래퍼Mark - 하이라이트 마크YmdTypography - YYYYMMDD/YYMMDD 숫자 날짜를 포맷해 표시하는 TypographyYmTypography - YYYYMM 숫자 연월을 포맷해 표시하는 TypographyYmdTextField - YYMMDD/YYYYMMDD 숫자 날짜 입력 TextFieldSmOrUp, MdOrDown, LgOrUp 등 - 반응형 조건부 렌더링FloatingIndicator - 플로팅 인디케이터DebouncedRender - 디바운스된 렌더링SearchBoxDebouncer - 검색 조건 입력을 모아 한 번만 외부로 전달 (훅: useDebouncedParams)DelayedRender - 지정한 시간이 지난 뒤에 자식을 렌더링SegmentedControl - 세그먼트 컨트롤import { useElementSize, useCenterInView } from '@cp949/mui-react19/hooks';
useCenterInView - 뷰포트 중앙 감지useElementSize - 요소 크기 감지useLocalStorage, useSessionStorage - 웹 스토리지useDebouncedCallback, useThrottledCallback - 성능 최적화useSmOrUp, useMdOrDown 등 - 반응형 훅들import { mediaQueries, cssVars } from '@cp949/mui-react19/helper';
mediaQueries - MUI 미디어 쿼리 헬퍼cssVars - MUI CSS 변수 헬퍼import { processFileTreeDrop, processFileTreeDropSafe } from '@cp949/mui-react19/file-drop';
React에서 파일과 폴더를 드래그앤드롭으로 처리하는 모듈입니다.
주요 기능:
상세한 사용법과 예제는 README.file-drop.md를 참고하세요.
// 기본 사용
<FlexRow center>
<span>중앙 정렬</span>
</FlexRow>
// 네임스페이스 API
<FlexRow.Between sx={{ padding: 2 }}>
<button>왼쪽</button>
<button>오른쪽</button>
</FlexRow.Between>
// 세로 레이아웃
<FlexColumn.Center sx={{ height: 200 }}>
<div>세로 중앙</div>
</FlexColumn.Center>
<div style={{ position: 'relative', height: 300 }}>
<TopAbsolute.Center top={20}>상단 중앙</TopAbsolute.Center>
<CenterAbsolute.Left left={20}>세로 중앙, 왼쪽 고정</CenterAbsolute.Left>
<BottomAbsolute.Right bottom={20} right={20}>
하단 오른쪽
</BottomAbsolute.Right>
</div>
<Center
vertical
sx={{
height: 400,
backgroundColor: 'primary.main',
'&:hover': {
backgroundColor: 'primary.dark',
},
}}
>
커스텀 스타일 적용
</Center>
2.x는 React 19 전용입니다. React 18은 지원하지 않습니다.peerDependencies.react는 ^19로 제한됩니다. React 18 트리에는 설치되지 않습니다.forwardRef를 제거하고 React 19 ref-as-prop 패턴으로 전환한 데 따른 의도된 breaking change입니다.mantine- prefix를 제거했습니다. 생성 id 문자열에 의존하던 코드는 영향을 받습니다.forwardRef 불필요). <Center ref={...} /> 형태의 기존 사용 코드는 동일하게 동작합니다.sx prop과 완벽 호환MIT
FAQs
React UI components and hooks built on MUI (Material-UI)
We found that @cp949/mui-react19 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.