Create a Custom Page
Create a custom page with a heading and paragraph, check its layout and publish the result in Twidget.
Watch tutorial (2:57)
Create a custom page with a heading and paragraph, check its layout and publish the result in Twidget.
Watch tutorial (2:57)
Import a small HTML/CSS design, inspect its native conversion, edit its heading and check responsive previews.
Watch tutorial (2:53)
Connect colours, spacing and typography to shared page tokens, save changes and check a compact responsive card.
Watch tutorial (3:50)
Build matching native cards in a responsive grid, add a wrapping status stack and refine spacing at desktop, tablet and phone sizes.
Watch tutorial (8:58)
Build a compact centred page, inspect heading semantics and descriptive links, check desktop/tablet/phone previews and test visible keyboard focus and Enter activation.
Watch tutorial (4:01)
Test a page connection, inspect the URL retained by a copied page, use Undo, Redo and History, and publish synthetic pages to verify their real dropdown choices.
Watch tutorial (9:50)Twidget provides a robust mechanism for creating web pages accessible via a browser. This feature enables users to build various types of pages using a no-code interface, enhancing the platform's developer experience.
Open Pages and choose Create Page. The available starting points include:
Page starters: Search eight ready-made layouts for records, customers, operations and dashboards. Review sample data, then create one disabled, unpublished draft. See Page starters.
Table: Create a records table, then configure its fields and data source. See Page tables.
Form Page Generator: Facilitates the creation of forms linked to specific endpoints, allowing data submission to a designated table. Users can customize forms by incorporating both table fields and custom fields.
Authentication Page Generator: Enables the creation of login and sign-up pages by selecting the corresponding authentication endpoints. This feature requires the presence of an authentication table in the database.
Custom Page Creator: Allows users to design pages from scratch, providing options for naming, path setting, and integration of scripts for enhanced functionality. Users can also designate alternative pages like 404 error pages.
You can also ask Twidget Assistant to prepare native page drafts together with their backend resources. Discuss requirements first, then review the complete proposal before applying it. Applying only saves drafts; test the page and its connected workflows before publishing.
In the page editor, choose Import HTML. Paste an HTML fragment or document, or choose a local HTML file up to 1 MB. Embedded styles are read from the HTML; use Additional CSS & asset options → CSS for additional plain CSS rules, without wrapping them in another <style> tag. Do not paste the same rules into both places.
Choose Review conversion to inspect the editable element tree and conversion notes, then Import elements. This is a supported-style conversion, not a browser-perfect copy of an arbitrary website. Scripts are removed, HTML is not executed in the dialog, and forms need their Twidget actions connected after import. Assets are not fetched during conversion. Relative images can use an approved Asset base URL; explicitly review and approve external image URLs before they may load in the editor or Preview. Review spacing, responsive behaviour, form actions and data bindings after import.
Choose Theme in the page editor to set shared colours, spacing, radius and typography. Element appearance values can reference tokens such as var(--twgt-color-primary) or var(--twgt-spacing). Choose Apply theme to save the draft theme. Only values linked to these tokens change with the theme; a hard-coded colour or padding does not become theme-linked automatically. Preview desktop and mobile layouts, then publish when ready.
Each page consists of various elements, which can be added through a drag-and-drop interface. Elements are managed within a layered layout structure that visually represents the hierarchical relationship among components. Pages can utilize multiple layout types, including headers, sidebars, modals, and drawers, to organize content effectively.
Creation choices also support keyboard selection: focus a choice and press Enter or Space. In Elements, click a choice or focus it and press Enter or Space to add it inside the selected container, or the nearest containing layout. With nothing selected, it is added to the main page. Drag and drop remains available for choosing an exact position.
Select an element on the canvas or in Layers, then use the breadcrumbs above its settings to select a containing element. The path shows the last three elements, with an ellipsis when earlier parents are hidden. Properties, Appearance and Events group the controls, and keep your selected group as you move between elements. Empty settings sections are hidden. Existing Elements search, Layers search, responsive previews and reusable components remain available.

Pages possess their own set of variable objects—path parameters, query parameters, and page variables. These can be defined and used throughout the page to create dynamic behaviors and content, allowing for personalized interactions based on user input or navigation context.
The functions feature empowers users to define custom scripts triggered by events on elements, similar to API functions. These functions can handle actions such as form submissions and button clicks. Users can access a variety of command categories specially designed for page contexts, enhancing the interactivity of web pages created within Twidget.
The history function tracks changes made to pages, allowing users to revert to previous versions if needed. Changes can be previewed dynamically before publishing. Upon publishing, the changes are finalized, and the history resets, ensuring a clean versioning system.
Users can view their pages in a live preview mode to test functionality before making it publicly available. A unique URL is generated for each published page, allowing easy access through an eye icon in the pages tab.
The pages feature within Twidget offers a flexible, no-code solution for creating interactive web content. By leveraging form and authentication generators alongside customizable page layouts and dynamic functions, developers can efficiently construct robust user interfaces embedded within their applications.
Access Query Parameters in a Page
This section details how to access and utilize query parameters within Twidget pages, enabling dynamic content and functionality based on user-supplied parameters. Key Concepts. - Query Parameters: A method to pass data to web pages through the URL, enabling dynamic content updates based on user int...
Page Variables
Page variables in Twidget are global variables that are accessible throughout an individual page, allowing for dynamic content generation and manipulation within the application. These variables can be utilized in various contexts, such as element settings or page functions, enabling developers to c...
Access Path Parameters in a Page
Path parameters play a crucial role in enabling dynamic and targeted content retrieval within the Twidget no-code API platform. This documentation outlines the fundamental concepts of path parameters, their implementation in Twidget pages, and their utility in enhancing page interactivity and config...
Generating Form Pages
Generating form pages in Twidget enables the automatic creation of user input forms that can be utilized for various purposes such as lead generation, customer information retrieval, and interactive message boards. This functionality allows developers to directly map user inputs to form objects, whi...
Custom Page Functions
Reusable custom page functions in Twidget enhance the development experience by allowing users to define and manage functions that operate specifically within the context of pages and page components. This capability is an integral feature for creating dynamic, interactive web applications without t...