First card
One column in a narrow parent.
LEARN
Adapt existing components to their available space, document direction and output medium while retaining native HTML behaviour.
These refinements and the new utility classes are unreleased additions in the source and documentation build. Published 1.2.1 archives and npm files remain unchanged. Build compilation does not establish browser or accessibility validation; tests for this update are deferred.
Put responsive on a separate full-width wrapper inside a parent with an established width. It creates the named inline-size container re-layout. Descendant components can then respond to that width, including in a narrow dashboard region on a wide screen.
grid cols-2 and grid cols-3 use one column below 40rem of wrapper width.grid cols-3 uses two columns from 40rem to below 60rem.Outside this wrapper, existing intrinsic layouts and viewport breakpoints continue to apply. Unsupported browsers keep those fallbacks. A component cannot query its own size: put the wrapper around it. Do not add containment directly to a subgrid card, an inline element or an intrinsically sized shrink-to-fit parent. Nested wrappers use the nearest matching named container.
The complete global/scoped builds include these rules. Modular users need tokens, base, common components and the relevant toolbar/card-pattern/navigation-rail modules. Top-menu mobile/desktop selection remains viewport-based, with wrapping labels and native popover behaviour.
This example limits the parent to 32rem. The two-column grid therefore becomes one column where container queries are supported.
One column in a narrow parent.
Adapts without resizing the browser.
Use dir="rtl" and the correct lang on the document or a local section. Logical spacing, borders, sidebar placement and alignment follow the document direction. Accordion, sidebar and navigation chevrons account for RTL; breadcrumb separators mirror their slant.
Keep content in meaningful DOM order. Use dir="auto" for appropriate user-entered text and bdi for isolated references. A nested dir="ltr" region retains its own direction. Directional SVG icons remain an application choice; logos, media controls and every icon should not be automatically mirrored.
Native direction applies locally without reversing the DOM or introducing framework attributes.
يمكنك تحديث معلومات حسابك هنا.
مرجع الحساب: REVA-001
This nested English paragraph keeps its own direction.
Common print rules remove decorative shadows, use readable light surfaces, wrap code, preserve natural media ratios and request sensible page breaks. Table header/footer groups repeat where the browser supports them. Navigation and popover controls retain their existing print handling; radio-selected panels are all shown by the tabs module.
no-print hides an element and its contents on paper.print-only hides an element on screen and restores its normal element display in print.print-links appends HTTP(S) link destinations only inside that opted-in section.Print-only content is also hidden from assistive technology on screen, so keep information needed by screen readers in ordinary content. Closed disclosures are not automatically expanded. Long tables, user-selected margins and page sizes remain browser/application concerns; CSS page-break requests are not pagination guarantees.
Use the browser’s print preview to see the print-only note and link destination. The footer is omitted from paper.
Reference REVA-001 · Total €120
Printed copy — retain for your records.
Required labels, hints and errors are explicit text. Native required, disabled, readonly and browser validation remain in control. Invalid-field keyboard outlines follow the error colour; disabled controls use system colours in forced-colour mode. Read-only fields have a subdued surface and dashed border.
Native range, file, colour, date and time controls retain their browser interaction and pickers. CSS improves sizing and file-button presentation; it does not calculate outputs, upload files, validate on the server or announce errors.
visually-hidden provides an accessible label without visible layout. Focusable elements using it are revealed on focus, including when a descendant receives focus. Use a visible label when possible; hide decorative content with aria-hidden rather than supplying an unnecessary accessible label.
Native form examples · Complete error associations · Behaviour and accessibility