Skip to main content
Designkufu

smarthr-ui-timeline

Timelineは、情報を時間の流れに沿って整理・表示するためのコンポーネントです。操作履歴や更新履歴を時系列で見せるときに使います。

Stars
30
Source
kufu/smarthr-design-system
Updated
2026-05-29
Slug
kufu--smarthr-design-system--smarthr-ui-timeline
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-timeline/SKILL.md -o .claude/skills/smarthr-ui-timeline.md

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

情報を時間の流れに沿って整理・表示するためのコンポーネントです。操作履歴や更新履歴を時系列で見せるときに使います。

import

import { TimelineItem, Timeline } from 'smarthr-ui'

Props

TimelineItem

Props 名 デフォルト値 必須 説明
datetime string | Date - -
dateLabel string - - 日付の代わりに表示するテキスト
timeFormat "none" | "HH:mm:ss" | "HH:mm" HH:mm - 時刻のフォーマット
dateSuffixArea ReactNode - - 日付のサフィックス領域
sideActionArea ReactNode - - サイドアクション領域
current boolean - - 現在のアイテムかどうか

Timeline

(固有 Props なし)

実装ルール

Timeline に直接関連する eslint-plugin-smarthr のルールは現時点ではありません。

使い方チェックリスト

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