프리뷰 또는 이전 버전의 문서를 보고 있습니다.seed-design.io 방문
우리는 왜 디자인 엔지니어를 찾게 됐을까
Skip to Content
Lynx

Skeleton

콘텐츠를 불러오는 동안 윤곽을 표시하는 컴포넌트입니다.

Engine ≥ 3.6
사용 가능 버전@seed-design/[email protected], @seed-design/[email protected]
Lynx 예제를 불러오는 중입니다.

Installation

npm install @seed-design/lynx-react @seed-design/lynx-css

Usage

import { Skeleton } from "@seed-design/lynx-react";
<Skeleton />

Props

Prop

Type

height?"full" | "lineHeight.t1" | "lineHeight.t10" | "lineHeight.t10Static" | "lineHeight.t11" | "lineHeight.t11Static" | "lineHeight.t12" | "lineHeight.t12Static" | "lineHeight.t13" | "lineHeight.t13Static" | "lineHeight.t14" | "lineHeight.t14Static" | "lineHeight.t1Static" | "lineHeight.t2" | "lineHeight.t2Static" | "lineHeight.t3" | "lineHeight.t3Static" | "lineHeight.t4" | "lineHeight.t4Static" | "lineHeight.t5" | "lineHeight.t5Static" | "lineHeight.t6" | "lineHeight.t6Static" | "lineHeight.t7" | "lineHeight.t7Static" | "lineHeight.t8" | "lineHeight.t8Static" | "lineHeight.t9" | "lineHeight.t9Static" | "spacingX.betweenChips" | "spacingX.globalGutter" | "spacingY.betweenText" | "spacingY.componentDefault" | "spacingY.navToTitle" | "spacingY.screenBottom" | Dimension | (string & {}) | undefined

lineHeight.t4처럼 line-height 토큰을 지정하면 같은 텍스트 줄 높이로 렌더링합니다.

radius?"0" | "16" | "8" | "full" | undefined
  • 0: 기본값입니다.
  • 8: 텍스트 콘텐츠에 사용합니다.
  • 16: 카드 및 썸네일에 사용합니다.
  • full: Avatar(원형) 콘텐츠에 사용합니다.

Default

8

tone?"magic" | "neutral" | undefined
  • neutral: 데이터를 불러오는 일반적인 로딩 경험에 사용합니다.
  • magic: AI 기능이 활성화되었을 때 사용합니다.

Default

"neutral"

width?"full" | "spacingX.betweenChips" | "spacingX.globalGutter" | "spacingY.betweenText" | "spacingY.componentDefault" | "spacingY.navToTitle" | "spacingY.screenBottom" | Dimension | (string & {}) | undefined

Examples

Line Height

텍스트를 대체하는 Skeleton에는 height="lineHeight.t4"처럼 텍스트와 같은 line-height 토큰을 지정할 수 있습니다.

Lynx 예제를 불러오는 중입니다.

Radius

Lynx 예제를 불러오는 중입니다.

Tone

Lynx 예제를 불러오는 중입니다.

웹 버전과의 차이

  • 접근성 트리에서 숨겨지는 장식 요소입니다.
  • height에는 반응형 값이 아닌 단일 값만 전달할 수 있습니다.
  • 웹의 asChild는 지원하지 않습니다.

Last updated on 2026. 12. 3.