Data displayStoryRailCard

Open in Create
Search
astronomic.dev

StoryRailCard

Pro

For one story in a StoryRail: its photo, topic, date, title and summary. StoryRail uses it for you.

File
StoryRailCard.astro
Group
Data display
Kind
Static: no JavaScript
Examples
1
import StoryRailCard from "@astronomic/ui-pro/components/StoryRailCard.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

In its rail

StoryRailCard needs its StoryRail: the widths, the open state and the summary read the rail's container and script. StoryRail draws one per story.

main.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.