Register

Quanty · Agentic AI

React and HTML Page Templates

A page template gives you a starting structure for showing information. It does not create real account access, data collection or a back end. This guide compares a React component starter with a standalone HTML and CSS starter, then shows how to review the file you receive. Quanty Code is in testing (beta). QuantPower is software, not an adviser.

1. Describe the page before choosing the implementation

Begin with what the reader needs to do or understand. A sample market dashboard might help a reviewer see whether a status, timestamp and filter belong together. A product page might explain a workflow to someone who has never heard of it. A plain contact-information page might only need text and links. Describe the reader, the first thing they should notice, and what should happen when they interact with a control.

Supply the essential content in plain language. For a prototype, label it fictional and avoid private account values. If a chart uses illustrative values, make that visible next to the chart, not just in a message that accompanies a screenshot. A reader who opens the exported file on their own should not assume that a price, server status or account panel is real. A local file can still look very polished, which makes the label more important, not less.

Be specific about the boundary. “Create a page that displays three fictional rows, a local filter, and a short empty-state message” tells the builder much more than “create a trading dashboard.” If you need visual feedback but not a working interaction, ask for a mock layout where controls are absent or clearly illustrative. If you do need a functioning filter, state which fields it matches and what the reader should see when no row matches.

Specify the file format you want at handoff. If other people should be able to open one file and a stylesheet without installing packages, request HTML and CSS. If the code belongs in an existing React application, mention that context and the component boundary you want. An existing framework can change what imports, paths and styling conventions are appropriate. Clarify this before treating a generated folder as ready to paste into a live repository.

2. Use HTML and CSS for a page that mostly reads

A static HTML page can be a complete deliverable when the content is fixed and a few internal links are enough. It is easy to open locally and inspect. A browser can display the heading, paragraphs, tables and section links without a build step. A matching stylesheet can provide layouts for narrow and desktop screens. You usually do not need a client-side framework for a simple page with no state.

Choose valid elements for their meaning. A heading names the section, a paragraph holds text, a button performs an operation, and a link goes somewhere. If a control only moves to another section of the same page, an anchor link supports that purpose. Dressing a generic box as a button can leave a keyboard user unable to activate it. Asking for semantic elements is easier to review than requesting a large number of visual blocks without describing their roles.

Open the exported HTML in a clean folder next to its stylesheet. Check that fonts, icons and images either work locally or are documented as explicit dependencies. A relative stylesheet reference can work in a local folder but a root-relative reference may assume a web server. If local use is the goal, test using the files as shared. Keeping the paths simple can prevent a good template from looking broken when downloaded.

A static example can be accessible and usable without JavaScript. Section links should still reach their destinations, the basic text should still be visible and a table should still communicate its contents. If a preview needs a small script, explain what that script changes and what remains available without it. Do not hide important copy until a script runs unless the reader genuinely cannot use the information beforehand.

3. Use React when the page has real state or a component home

React can be useful when different parts of an interface need to reflect the same changing data. A filter might update a list and a count. A selected tab might choose which set of fixture rows to show. A reusable card might appear with different data in multiple screens. An existing React app may also require a consistent component structure even when the first version is static. The key is to know what problem the framework solves in this project.

The React guide to thinking in components recommends beginning with a static version and identifying the minimum state needed for interaction. For a template request, distinguish state from data. A set of fictional records can be fixed; the selected filter can change; the filtered count can be calculated from those two inputs. Storing all three separately can make it easier for them to disagree after the user changes a filter.

Give each component one understandable job. A top-level page may pass a list to a table, while a filter component displays the current choice and reports changes. A cell should not start a network lookup or store a second copy of all the rows. If the template uses a component library, document that dependency and do not assume the recipient already has it. A standalone component still needs instructions for the app it belongs in.

React does not automatically supply an API, authentication or persistence. A sample list can remain in the page, and local interaction can work without a server connection. Do not connect a demo filter or form to real user data just to prove the interaction exists. Keep the sample labelled, and use a fake in-memory response if you need to demonstrate empty and unavailable states. Integrating with a real service should be an explicit separate step.

4. Decide which controls actually need to work

List every action the sample includes before reviewing how it looks. A section link moves to a section; a local filter changes visible rows; a demonstration sort changes order; a real submit action sends data somewhere. Write down the expected result for each. If a button does nothing, remove it or label it as illustrative. Do not let a reader type private information into something that only looks like a real account screen.

For a local filter, use a few fictional records with differences that are easy to check. Try no filter, a filter matching two records, and a filter matching none. If clearing the input should restore the original rows, test that path. Decide whether matching is case-insensitive and whether surrounding spaces matter. These may seem like tiny choices, but a live screen feels broken when a simple typed word cannot find an obvious item.

A sorting control needs a clear direction. If the user switches from newest to oldest, the row order should change and remain understandable in the header. Numeric columns should not be treated as ordinary text if that would reorder them unexpectedly. Add a small case with two similar entries so the ordering can be reproduced. It is easier to verify this with a known list than with randomly generated records or a remote feed.

Think about the no-result state as an ordinary use case, not a rare error. A result of zero matches is different from a data service failing to respond. A frozen status panel and an empty filter result should not look or read the same. If the example uses only local fixture data, it can still show these distinctions by providing deliberately chosen example states. Make it easy for a reviewer to reach them without refreshing the entire app.

5. Show what is fictional and what is absent

A well-designed UI can look like an actual product before it has any live capability. Label illustrative rows and statuses on the page. Add a short note on whether the design includes loading, persistence, accounts or external services. If a fake dashboard includes a balance or timestamp, give it a clear sample label wherever someone could reasonably screenshot it. Do not rely on the filename or internal project name to carry that meaning.

Keep the distinction visible in exported files. A screenshot might be shared separately from the instructions, while a downloaded page may be opened by someone who has not read the chat. Include a compact “Sample data” note in the design itself. Avoid copying real customer names, access details or other private material into a fixture. Use a plainly fictional label that still lets a reviewer see how long text and short text affect the layout.

Do not overstate what a site template delivers. A login-shaped panel does not validate an account. A visible payment button does not mean payment handling exists. A brochure form does not mean messages are stored or sent. If those features are needed, agree on the behavior and privacy boundary in another task. In a page-only starter, showing a valid local interaction is evidence only for that interaction.

Keep marketing wording tied to the feature that exists. A page can describe a sample workflow without claiming that anything is running or that any outcome is assured. A data visual should not suggest advice or a real trade decision. QuantPower is software, not an adviser, and a template cannot change that distinction. When the sample is used in a review, describe whether it displays fictional input, local calculations or results already confirmed elsewhere.

6. Test the phone layout before polishing large screens

Start with a narrow viewport and real text lengths. A heading should wrap naturally without pushing the important action too far down the page or causing sideways scroll. Keep enough space between controls for comfortable tapping. Do not hide critical information on a phone just because it occupies more lines than expected. If a table is too wide, decide whether a contained scroll region, a simpler column set or a stacked reading order communicates the data better.

Test the desktop layout too. A narrow content column can be easier to read, while a wider table may need a little more room. The design should not become a stretched phone view where text runs across the entire screen. Place related content close enough that the reader can see the connection. Use empty space where it helps the eye find the main action, not as a substitute for deciding the page hierarchy.

Use deliberately long sample values in at least one test. Try a longer name, a multi-line status, a large numeric value and one section whose title nearly wraps. Default mock data is often too tidy to reveal ordinary issues. If a control moves below another on a phone, check that its order still makes sense and that keyboard focus follows the visual sequence naturally. A screen that looks fine in one screenshot can still fail when its content changes.

Check the page using browser zoom or enlarged text. Fixed-height boxes can clip labels and tiny text can make a caption unusable. A layout that reflows more gracefully is usually easier to maintain than one that has different hard-coded sizes for each screen. Treat screenshots as supporting evidence, not the whole test. Note exactly which width, browser and sample content were used so the next reviewer can compare the same conditions.

7. Make labels and focus part of the sample

A control needs a name that makes sense on its own. A clear form label is better than an unlabeled box with a disappearing hint. The W3C guidance on labeling controls explains why labels and programmatic associations matter. Where an example includes an input, provide a visible label where possible and check that the user can activate the intended control by keyboard.

Keep focus visible. A mouse user may see a hover effect, while a keyboard user needs to find the current focus. Press Tab through the whole example and verify the order. Try activating section links and buttons without a mouse. If the page has a skip link, check that it takes focus to useful content. A successful visual render does not tell you whether keyboard navigation works.

Use one main heading for the page's purpose and lower-level headings to describe the content that follows. Avoid changing the heading level just to make a line larger. Use styling to control its appearance. For table data, label the columns and indicate what the table shows. If an illustration repeats information already present nearby, decide whether its description would help or merely add noise. A good template gives the reader enough structure to navigate the output independently.

Avoid communicating a change by color alone. A red or green hint can reinforce a status, but the words should say what happened. A sample signal display might use a label to describe the condition rather than asking the reader to infer meaning from an icon. Check contrast for ordinary text and important controls. If a local interaction reports no results, make sure that message is readable without needing to interpret a visual pattern.

8. Review the data boundary before connecting any services

An example that renders a list does not need a real API. Start with an array of fictional values stored in the same project. If you later introduce a real data source, separate that change from the initial refinements to layout and interaction. You can validate one local component and one data adapter independently. Fixing a blank row is easier when you know whether it came from parsing, selection or display.

Do not put API keys in front-end code or in a browser-provided request just to make an example work. Anything that reaches the page may be visible to the person using it. Keep private configuration in the proper environment and expose only what the interface needs according to an approved design. If the template uses a public local fixture, document that it is intentional and keep private records out of it.

Ask how the page should recover when data is not present. If no rows match a filter, give the reader a way to reset it. If input is unavailable, show that state instead of inventing rows and presenting them as real. If data is stale, a timestamp alone may not communicate that enough. Note the expected freshness in a later live integration rather than implying that the interface verifies it.

For forms, state what would happen on submit. A page-only example can use a no-submit control or a local demonstration with no network requests. If a real form will collect information, the proposed implementation and handling of data should be reviewed separately. Do not turn on collection merely to demonstrate styling. The sample can teach layout and interaction without taking on responsibilities it is not designed to carry.

9. Choose tests that show the behavior promised

Use one or two tests for the most important claims. For a static page, check that its stylesheet is present, required links are valid and the heading is readable when scripts are disabled. For a React list, test a sample action and its result. It is often more useful to verify that a particular row appears or disappears than to check every internal class. Tests should explain what a user sees rather than how a component happens to be implemented today.

Add one deliberately failing scenario to the walkthrough. A filter with no match should show a meaningful empty message, not a blank space. A missing stylesheet should be detectable in a clean-folder setup before the template is shared. A link without a target should not be included in a static mockup merely because its appearance is useful. Testing these cases gives the reviewer a record of where the boundaries are.

Check that the example behaves the same without internet access if the instructions promise an offline starter. A browser may fetch a remote font, icon or image without anyone noticing; if the page requires those resources, document that dependency or replace it with a local one. A React app may need a setup step that downloads packages, even if the page makes no external request once it runs. Those are different claims and should be written separately.

Record which checks actually ran. “HTML opened locally and all section links resolved” says more than “fully tested.” “Filter fixtures passed in the component harness” does not prove that the hosting environment serves the right files. Test the exported or downloaded version if that is what will be handed to the user. A preview on a working directory can mask missing assets, stale style files or installation assumptions.

10. Compare an HTML pack with a component handoff

A local HTML pack normally includes the page, its stylesheet and any assets the page uses. Save files with relative names that do not depend on a private directory. The instructions should tell a recipient to keep related files together and open the entry page. If the first view is nothing but unstyled text, first check whether the stylesheet travelled with the HTML rather than assuming the design itself failed.

A React handoff can be a component with a small fixture and instructions for inserting it into an existing app, or a small independent project with scripts and dependencies. Say which one you are receiving. An implementation that assumes a particular alias or component library is not drop-in everywhere. List what needs to be installed or adapted. If the component expects values from a parent, include an example of that input shape.

Review one version at a time. Save a known working copy before swapping fonts, moving components or changing the data. If a link or layout breaks, compare against that copy to find what changed. Avoid updating an unrelated dependency while evaluating a visual design unless there is a reason and the test scope includes it. Several simultaneous changes make simple bugs harder to trace.

When both formats could work, choose the one that fits the delivery. If someone only needs a static demonstration, an HTML pack is easy to hand over. If the team already owns a React app and needs a reusable interactive piece, a component can reduce duplicated work. This is a decision about integration and maintenance, not about which format looks more modern.

11. Adapt a template without mixing in unrelated changes

Start with Quanty Code and name the feature you want to review. Describe the output format and one or two interactions. Keep the first requested change narrow: update the heading, choose a sample data shape or replace a local card layout. Test the exact change before you introduce remote data, authentication or analytics. If no starting template fits, note that the generated result requires more review than a standard starter.

Decide which changes belong in content and which change behavior. Replacing a sample heading does not normally change the meaning of a filter. Changing how a filter matches dates does alter behavior. Swapping a sample record for a real account value changes the data boundary. Keep these differences explicit so another person can review a small change without believing that every other aspect has been revalidated.

Maintain file-level ownership if the page will live in a shared repository. Let one change address the UI and another address any confirmed integration unless they must be reviewed together. An implementation that edits service settings, design and data in one patch can be hard to evaluate or reverse. A mock component can often clarify the desired contract before there is any need to change a live route.

At handoff, state what you tested at phone and desktop widths and what remains unverified. Give the exact files and an example of how to reach a meaningful state. If an interaction worked in a local fixture, label it as a fixture result. If the example is intended to be reviewed privately, keep it in a sandbox until someone approves extending its audience. A clean preview is not approval to publish.

12. A review exercise for a small fictional dashboard

Ask for an example with one heading, a short description and a table of three fictional services. Give each service a visible name, a status and a time. Include one long label so wrapping is easy to inspect. In a static version, give the reader a section link and clear explanatory text. In a React version, optionally add a local filter that selects a status. Do not add a working connection, account entry or record storage just because the design resembles an operations screen.

Open the example in a narrow browser. Check whether the main heading and note remain visible, whether the table fits or uses a contained scroll area, and whether important text is clipped. Try enlarged text. Move through controls with the keyboard. If the layout includes a local filter, deliberately choose a value that matches none of the rows. Reset it and check that all three rows return. This is one complete reader task that can be repeated on the wider view.

Then open the folder in a clean environment rather than testing the same editor preview again. Check whether required files and instructions are present. If it is a React component, state where it should be mounted and what data it accepts. If it is plain HTML, confirm the stylesheet and internal targets load from the folder. A recipient should not need to guess which test data or configuration was used to produce what they see.

Finally, write a two-line result. For example: “The private sample uses three fictional rows and no service calls. Local filtering passed in the review case; real connectivity was not included.” If the demo was only a design, say that instead. Good template documentation makes it easier to build the next piece without changing the meaning of the one you already reviewed.

13. Keep the final package readable and replace examples before use

Take out labels that were only for the builder, but keep instructions a user needs to interpret the result. A visible sample note remains useful until real, verified data replaces the fixture. Remove dead links and controls that do not support a real task. If a final page is supposed to provide a CTA, check its destination in the exact hosted environment, rather than assuming a link from a private preview also works publicly.

List which parts of the starter are intended to change in your project. A content owner can update example text. A developer can adapt components or connect an approved source. A reviewer can verify phone layout and keyboard interactions. Clear ownership reduces the temptation to treat every sample feature as a production capability. Start small and preserve the boundaries that made the example easy to test.

When the request says “server-rendered,” ask which part of the experience should be available on the first response. The core copy, section links and labels can be present in the HTML even when a filter needs a browser interaction. A useful check is to open the output with scripts disabled and read the main content. Then re-enable scripts and test only the behavior that depends on them. That separates a missing content problem from an interaction problem.

For a preview that will be shared internally, make the review status obvious. State whether it is a public production build, a private preview or only a local file. Review the links in that specific environment. Navigation may work in a full application but lead nowhere in a standalone design. If a route is not part of the demo, leave it out or make its status clear instead of pointing at an unrelated page.

Write down one thing you deliberately did not build. It might be persistent filtering, form submission, account sign-in or a live data connection. This helps the next person extend the template by design rather than by accident. It also gives a reviewer a fair basis for comparing an HTML pack with a component: judge each against its stated task, not an imagined finished product.

Explore Quanty Code