Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

flamecommit/react-fullpage

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

라이브러리 개요

react-fullpage는 전체 화면 전환 UI를 제공하는 리액트 컴포넌트 라이브러리입니다.

기능 소개

  • 웹 페이지를 여러 섹션으로 나누고, 각 섹션을 전체 화면으로 표시할 수 있습니다.
  • 다양한 스크롤 이벤트를 사용하여 사용자 경험을 향상시킬 수 있습니다.
  • 사용자 정의 가능한 옵션을 통해 페이지 전환 효과나 스타일을 설정할 수 있습니다. ​

설치

npm을 사용하여 설치할 수 있습니다.

npm install @shinyongjun/react-fullpage

또는 yarn을 사용할 수도 있습니다.

yarn add @shinyongjun/react-fullpage

예제 코드

라이브러리의 간단한 사용 예제 코드입니다.

'use client';

import { useState } from 'react';
import {
  FullpageContainer,
  FullpageSection,
} from '@shinyongjun/react-fullpage';
import '@shinyongjun/react-fullpage/css';

function MyPage() {
  const [activeIndex, setActiveIndex] = useState<number>(0);

  return (
    <FullpageContainer
      activeIndex={activeIndex}
      setActiveIndex={setActiveIndex}
    >
      <FullpageSection>
        <div>Section 1</div>
      </FullpageSection>
      <FullpageSection>
        <div>Section 2</div>
      </FullpageSection>
      <FullpageSection>
        <div>Section 3</div>
      </FullpageSection>
      <FullpageSection isAutoHeight>
        <footer>Footer</footer>
      </FullpageSection>
    </FullpageContainer>
  );
}

export default MyPage;

API 문서

라이브러리의 주요 API들에 대한 문서를 Docs에서 확인할 수 있습니다.

실제 사용 사례

라이브러리의 사용 예시는 Demo에서 확인할 수 있습니다.

피드백 및 지원

라이브러리에 대한 피드백이나 문제 신고는 GitHub Issues 페이지에서 제공합니다.

About

전체 화면 전환을 도와주는 React Component 입니다.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.