Blog articles
Preview
From the blog
Guides, product news and how we build MyApp.
-
Engineering
Static pages, live feel: how we built MyApp
Most of MyApp renders on the server. Here's how a small script makes it feel instant anyway.
Jonas Weber · · 6 min read
-
Guides
Five ways to run a shorter planning meeting
Agendas, owners and a hard stop: the habits our customers swear by.
Sara Costa · · 4 min read
-
Product
What's new in November
Invoices, a faster dashboard and a dozen smaller fixes.
Fatima Ali · · 3 min read
Add it to your project
-
Sign in once on this machine
izzy loginThe account is free. Create a free account
-
Add the block
izzy add block articlesWrites Components/Blocks/Articles.razor and adds it at the end of Home.
Settings
Each setting is a flag on izzy add. The flag syntax isn't final; for now it looks like this:
izzy add block articles --all-text | Name | Type or choices | Default | Description |
|---|---|---|---|
Title | text | From the blog | The section's heading. |
Lead | text | Guides, product news and how we build {{ProjectName}}. | The sentence under the heading. Empty leaves it out. |
AllText | text | All posts | A link to the blog, beside the heading. Empty leaves it out. |
AllHref | text | blog | Where that link goes. |
Name | text | Articles | The component's name. |
Into | text | Components/Pages/Home.razor | The page it's added to, at the end. |
Mode support
| Feature | Static | Interactive |
|---|---|---|
| Everything | Yes | Yes |
Static: static server-side rendering, with no circuit and no WebAssembly. Interactive: Server, WebAssembly or Auto.
Accessibility
- The section is named by its heading, an h2; each post's title is an h3 and its link.
- The cover links to the post too, but it's hidden from screen readers and skipped by the Tab key, so each post is one stop.
- The date is a time element with the date in a form software reads.
Components used
- Section: Renders a full-width band of a page, such as a hero.
- SectionHeader: Introduces a section of a landing page: an eyebrow, a heading and a sentence.
- Container: Centers content at a readable width.
- Stack: Lays out its children in a row or a column, changing with the screen width.
- Column: Stacks fields, cards or text from top to bottom, with even spacing.
- Grid: Lays out its children in columns set by breakpoint, by minimum width or by template.
- Box: Renders a block that accepts every style prop.
- Image: Loads an image lazily and keeps its space.
- AspectRatio: Keeps media at a fixed shape, 16:9 by default.
- Heading: Renders headings 1 to 6, with fluid sizes and section links.
- TextBlock: Sets paragraphs, captions and labels in the library's text styles.
- Anchor: Renders a text link, internal or external.
- Icon: Renders Lucide icons as inline SVG on the server.
- Spacer: Pushes the rest of a row to the end.