Skip to main content
Designkufu

smarthr-ui-reel

Reelは、要素を水平方向に並べ、はみ出した場合は水平方向にスクロールさせるレイアウトコンポーネントです。複数の要素を水平方向にスクロールさせて見せるときに使います。

Stars
30
Source
kufu/smarthr-design-system
Updated
2026-05-29
Slug
kufu--smarthr-design-system--smarthr-ui-reel
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/kufu/smarthr-design-system/HEAD/plugins/smarthr-design-system/skills/smarthr-ui-reel/SKILL.md -o .claude/skills/smarthr-ui-reel.md

Drops the SKILL.md into .claude/skills/smarthr-ui-reel.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

要素を水平方向に並べ、はみ出した場合は水平方向にスクロールさせるレイアウトコンポーネントです。複数の要素を水平方向にスクロールさせて見せるときに使います。

Every Layout(https://every-layout.dev/)のReelを参考にしています。 要素を折り返して並べたいときはClusterを使います。

import

import { Reel } from 'smarthr-ui'

Props

Props 名 デフォルト値 必須 説明
gap Gap 0.5 - -
padding Gap 0 - -

実装ルール

best-practice-for-layouts

smarthr-ui/Layoutsに属するコンポーネント(Center,Cluster,Container,Reel,Stack,Sidebar)の利用方法をチェックするルールです。

詳細は eslint-plugin-smarthr の各ルール README を参照してください。

使い方チェックリスト

使い方チェックリスト(Layer 3)は設定されていません。