Schedule, time rows


Install
npx shadcn add @klarhimmel/schedule-time-rowsDetailsAbout, usage, props and more
A heading over ruled rows, each with its time in small mono type at the start, the name of the session and an outlined button at the end.
Import
Import
- schedule/time-rows
- About
- A heading over ruled rows, each with its time in small mono type at the start, the name of the session and an outlined button at the end. On a phone the time sits over the name and the button under it.
- Category
- What happens when: sessions, classes or events set out as a list or along a line. New project? Set it up once: /get-started/installation.
Notes
When to use it
Pick it for a plain list of sessions where each row has a time, a name and its own button, such as classes or tours. For dated cards with a picture choose schedule-header-row-list; for a timeline choose schedule-spine-alternating.
Writing for it
- Title up to 100 characters; the label is optional. - One to twelve rows, each a time up to 40 characters, a name up to 80 and an optional button label up to 40.
Watch out for
Give every row the same time format so the first column lines up. The buttons all lead to booking, so give each row its own link rather than one page for all.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | '' | Text, up to 60 characters. |
title | string | 'Say what the schedule is for' | Text, up to 100 characters. |
rows | { time, title, action }[] | 3 items | List of 1 to 12. Each item: time, title, action (optional). |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |