~/docs/web

Web

On the web, sileo-native is sileo: the package re-exports the original, so the same calls work in Expo web and the browser gets the toast built for it.

Set up

npm i sileo
Copy
Nothing else changes. Keep importing from sileo-native; the web build resolves to sileo through the package’s browser entry.

What carries over

Every sileo.* call, positions, durations, autopilot, roundness and fill.
The first button. onPress is passed on as the web onClick.
Named themes: light, dark and system. A theme object passes its fill on.

What does not

Style objects in styles, which the web build takes as class names.
Glass, which needs iOS 26.
Buttons after the first.
This site is the exception: it runs sileo-native’s native renderer in the browser, through react-native-web and CanvasKit, so you can see the real thing.
The toast from sileo, ported to React Native. Built in the open by rayanstudio.
© 2026 rayan · MIT License
A native port of sileo by hiaaryan