<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/media-queries",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Media Queries"
}
-->

# Media Queries

Change the look and layout of a page based on the user’s preferences.

## Topics

### Media Queries

[layout-direction](/documentation/TVML/layout-direction)

Sets the text direction based on the user’s language preference.

[tv-theme](/documentation/TVML/tv-theme)

Sets an element’s appearance according to the specified theme.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)