# Supported platforms

Use this page to choose the browser versions your application supports and to
check a browser at start-up. For a desktop or mobile shell such as
[Tauri](https://tauri.app/), the engine is the system WebView of each target
operating system, so check that WebView as well as the browser versions below.

Selects, pickers, date calendars and menus opened from a control are placed
against it and flipped at the viewport edge by
[CSS anchor positioning](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_anchor_positioning),
and opened with the Popover API. Themes derive their colours with relative
colour syntax (`oklch(from …)`), and layouts use subgrid, container queries,
`:has()` and cascade layers.

## Minimum versions

| Browser or WebView | Minimum |
|---|---|
| Chrome, Edge, WebView2 (Windows), Android WebView | Chromium [129](https://developer.chrome.com/blog/anchor-syntax-changes) |
| Safari | [26](https://webkit.org/blog/17333/webkit-features-in-safari-26-0/) |
| Firefox | [148](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/148) |
| WebKitGTK (Linux WebViews) | 2.50 |

These are the minimum versions for the overlay placement described here.
Firefox enabled anchor positioning in 147, and 148 keeps an anchored overlay
inside the viewport.

When an engine supports popovers but lacks CSS anchor positioning, an anchored
popover opens at its static position. It cannot size itself to its control or
flip at the viewport edge.

## Overlays in macOS 15 WebViews

A WKWebView on macOS 15 (Sequoia) uses the WebKit that shipped with the
system, which has no anchor positioning. In that WebView, a select can open
below its field at its static position, and a menu can overlap its trigger.
Installing a newer Safari does not change the system WebView an application
uses, including a Tauri application.

## Animations, panel corners and text area sizing

Aster UI uses these features where the engine has them:

- View transitions cross-fade a change of view.
- `@starting-style` animates an element as it appears.
- `corner-shape` gives panels their shaped corners; without it they are round.
- Where `field-sizing` is available, a text area grows with its content up to
  its maximum height.

## Tested platforms

In a 1280 × 820 viewport on 25 November 2026, the overlay placement checks
passed in Playwright's Chromium 156, Firefox 157 and WebKit 27.2. The checks
open a select, picker, menu and date calendar in the bottom-right corner of the
viewport; each overlay opened above its control and stayed inside the
viewport.

The same checks passed on these Linux distributions with their own
`webkit2gtk-4.1` packages, under Xvfb:

| Distribution | WebKitGTK |
|---|---|
| Ubuntu 22.04 | 2.50.4 |
| Ubuntu 24.04 | 2.52.6 |
| Debian 12 | 2.50.6 |
| Debian 13 | 2.54.3 |
| Fedora 42 | 2.52.3 |
| Fedora 43 | 2.54.2 |

## Checking the browser at start-up

Optional: call `platformSupport()` in the browser when your application starts
to log missing features or show your own message. It checks the required CSS
syntax and browser APIs on the first call and reuses that result. It reports
whether each feature is available; test overlay placement in the WebViews your
application uses.

```ts
import { platformSupport } from "@getaster/elements";

const { supported, missing } = platformSupport();
if (!supported) console.warn(`This browser lacks: ${missing.join(", ")}`);
```

The [`platformSupport` reference](/docs/reference/api/staticMethod-platformSupport.md)
lists the feature names.

## Where to go next

[Install the packages](/docs/guide/library.md), then follow
[getting started](/docs/guide/getting-started.md). The [themes guide](/docs/guide/themes.md) explains
the colour tokens that relative colour syntax derives.
