Contact
Three ways to reach you beside a short form: checked on the server, answered with a toast, guarded by a honeypot.
Preview
Talk to us
Questions about plans, a demo for your team, or help with your account. We answer within one working day.
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 contactWrites Components/Blocks/ContactSection.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 contact | Name | Type or choices | Default | Description |
|---|---|---|---|
Title | text | Talk to us | The section's heading. |
Lead | text | Questions about plans, a demo for your team, or help with your account. We answer within one working day. | The sentence under the heading: when they'll hear back. |
Privacy | text | We'll only use your details to reply. | The line under the Send button. |
PrivacyHref | text | privacy | Where "Privacy policy" after that line goes. |
Name | text | ContactSection | 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 way to reach you is an h3 in a list.
- Every field has a visible label; required ones are announced as required, optional ones say so.
- After a post with errors, the summary at the top of the form takes focus and lists them; each field shows its own message too.
- The honeypot field is hidden from screen readers and skipped by the Tab key.
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.
- Grid: Lays out its children in columns set by breakpoint, by minimum width or by template.
- Column: Stacks fields, cards or text from top to bottom, with even spacing.
- Row: Lines up buttons, badges or fields side by side, with a gap between them.
- Center: Centers its content both ways.
- Icon: Renders Lucide icons as inline SVG on the server.
- 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.
- Box: Renders a block that accepts every style prop.
- Form: Posts its fields on static pages and validates them live on interactive pages.
FormErrors- TextField: Lets the user enter a line of text, with a label, add-ons and masks.
- TextArea: Lets the user enter several lines of text, and can grow and count them.
- Button: Submits or resets a form, follows a link or runs C#.