Introduction
Svelte for Lightning TV apps.
Svelte TV lets you build Lightning renderer apps with Svelte components.
It gives you the pieces TV apps need most:
- a
LightningRootfor renderer setup ViewandTextcomponents- focus handling for remotes
- rows, columns, grids, modals, drawers, and other TV primitives
- hash routing
- generated WebGL fonts
Start Here
Mental Model
Most screens are built from a small set of ideas:
Viewis a renderer node.Textdraws text.RowandColumnhandle common focus movement.- Focus styles live in
style={{ $focus: ... }}. - Use
paddingandgapbefore reaching for manualxandy. - Use explicit
wandhfor screens, images, grids, and virtual viewports.