Windows
One app's window: a plain titled section, or framed like a window manager shows it.
plainProps of plain
<Window id="story-window-plain" title="README" icon="lucide:file-text" path="~/README.md">
<p>Hi, I'm Jesse. I write software, mostly for the web.</p><p>This is the plain…
</Window>README
~/Hi, I'm Jesse. I write software, mostly for the web.
This is the plain view, a section under its title bar.
framedProps of framed
<Window id="story-window-framed" title="README" icon="lucide:file-text" path="~/README.md" framed>
<p>Hi, I'm Jesse. I write software, mostly for the web.</p><p>This is the frame…
</Window>README
~/Hi, I'm Jesse. I write software, mostly for the web.
This is the framed view, with a border, a ruled bar and a shadow.
long-titleProps of long-title
<Window id="story-window-long-title" title="A rather long window title that wraps" icon="lucide:folder" path="~/projects/a/deeply/nested/folder/with-a-long-name.md" framed>
<p>The title and the path wrap at narrow widths instead of overflowing.</p>
</Window>A rather long window title that wraps
~/The title and the path wrap at narrow widths instead of overflowing.
scrollingProps of scrolling
<Window id="story-window-scrolling" title="Notes" icon="lucide:file-text" path="~/notes.md" framed style="block-size: 14rem">
<p>Paragraph 1. The body scrolls inside the frame when it's taller than the win…
</Window>Notes
~/Paragraph 1. The body scrolls inside the frame when it's taller than the window. Tab to it to see the focus ring, and scroll to see the fade at the bottom edge go.
Paragraph 2. The body scrolls inside the frame when it's taller than the window. Tab to it to see the focus ring, and scroll to see the fade at the bottom edge go.
Paragraph 3. The body scrolls inside the frame when it's taller than the window. Tab to it to see the focus ring, and scroll to see the fade at the bottom edge go.
Paragraph 4. The body scrolls inside the frame when it's taller than the window. Tab to it to see the focus ring, and scroll to see the fade at the bottom edge go.
Paragraph 5. The body scrolls inside the frame when it's taller than the window. Tab to it to see the focus ring, and scroll to see the fade at the bottom edge go.
Paragraph 6. The body scrolls inside the frame when it's taller than the window. Tab to it to see the focus ring, and scroll to see the fade at the bottom edge go.