# Skins

Packaged player designs that include both UI components and their styles.

> **Note: New in version 10**
>
> In prior versions of Video.js, skins were CSS-only themes applied to the same set of default controls. In version 10 the concept of skins has been expanded to include the UI components, so each skin can be completely unique and only include the UI components it needs.

A skin wraps the media component and provides the player’s complete interface. It combines a specific set of UI components with the styles that arrange and present them.

## Choose a skin

The video, audio, live video, and live audio presets each provide four skins: Default, Neutral, Compat, and Scaffold. Compare them on three questions: which features you need, how much of the design you want to bring, and how consistently the player should look across browsers.

| | Default | Neutral | Compat | Scaffold |
| --- | --- | --- | --- | --- |
| Features | Complete | Same as Default | The same core controls in a simpler layout | Same as Compat |
| Styling | Opinionated and distinctly Video.js | Opinionated and easy to brand | Unbranded, a polished step above native controls | Unbranded and minimal, a foundation to restyle |
| Browser compatibility | Uses newer visual effects where browsers support them | Same as Default | Avoids newer visual effects, so it looks consistent across browsers and reaches older ones | Same as Compat |
| Presets | [Video](https://videojs.org/docs/framework/react/reference/components/video-skin), [Live video](https://videojs.org/docs/framework/react/reference/components/live-video-skin), [Audio](https://videojs.org/docs/framework/react/reference/components/audio-skin), [Live audio](https://videojs.org/docs/framework/react/reference/components/live-audio-skin) | [Video](https://videojs.org/docs/framework/react/reference/components/video-neutral-skin), [Live video](https://videojs.org/docs/framework/react/reference/components/live-video-neutral-skin), [Audio](https://videojs.org/docs/framework/react/reference/components/audio-neutral-skin), [Live audio](https://videojs.org/docs/framework/react/reference/components/live-audio-neutral-skin) | [Video](https://videojs.org/docs/framework/react/reference/components/video-compat-skin), [Live video](https://videojs.org/docs/framework/react/reference/components/live-video-compat-skin), [Audio](https://videojs.org/docs/framework/react/reference/components/audio-compat-skin), [Live audio](https://videojs.org/docs/framework/react/reference/components/live-audio-compat-skin) | [Video](https://videojs.org/docs/framework/react/reference/components/video-scaffold-skin), [Live video](https://videojs.org/docs/framework/react/reference/components/live-video-scaffold-skin), [Audio](https://videojs.org/docs/framework/react/reference/components/audio-scaffold-skin), [Live audio](https://videojs.org/docs/framework/react/reference/components/live-audio-scaffold-skin) |

- **Default** is our design, with frosted surfaces and a modern look. Choose it when you want the player to look like Video.js.
- **Neutral** has the same controls in a lighter design, closer to a classic control bar. Choose it to apply your brand to a finished design: set your accent color, font, and corner radius through [CSS custom properties](https://videojs.org/docs/framework/react/guides/customize-skins#set-the-skins-styles).
- **Compat** has plain, unbranded surfaces. Choose it when the player should blend into content pages, such as an encyclopedia article. It avoids backdrop blur, anchor-positioned menu highlights, and squircle corners, which some browsers render differently or skip, and it reaches [older browsers](https://videojs.org/docs/framework/react/guides/browser-support) than Default and Neutral.
- **Scaffold** has Compat’s controls with minimal styling: square corners, no shadows or blur, your page’s font, and no transitions. Choose it as the foundation for your own design, when you plan to restyle the whole player rather than brand a finished one.

All four skins support the same keyboard shortcuts and gestures, and Compat and Scaffold also support older [browsers](https://videojs.org/docs/framework/react/guides/browser-support). To build your own design instead, add Scaffold’s [source](#skin-source-in-your-project) to your project, start from another skin’s source, or build a [custom interface](#custom-interface).

## Packaged skins and skin source

When you choose a skin, you can import the packaged version or add its source to your project. It’s usually easiest to start with a packaged skin and add its source when you need more customization.

Packaged skins cover common visual changes through documented CSS custom properties. Packaged video skins also let you replace the poster. When you need more than that, add the skin source to your project and change the components and styles directly.

| Packaged skin | Skin source in your project |
| --- | --- |
| Single component | Many UI components |
| Documented CSS custom properties | Editable components and styles |
| Future design updates auto-applied by bumping the version | Future design updates manually applied, or intentionally ignored |

### Packaged skin

**Player.tsx**

```tsx
import { Video, VideoPlayer, VideoSkin } from '@videojs/react/video';
import '@videojs/react/video/skin.css';

export function Player() {
  return (
    <VideoPlayer>
      <VideoSkin>
        <Video src="video.mp4" />
      </VideoSkin>
    </VideoPlayer>
  );
}
```

Don’t depend on elements, class names, or undocumented custom properties inside a packaged skin. They may change between releases.

- [Style a packaged skin](https://videojs.org/docs/framework/react/guides/customize-skins#style-a-packaged-skin)

### Skin source in your project

The skin source contains the complete interface. You can add, remove, rearrange, or restyle any part of it.

- [Style skin source](https://videojs.org/docs/framework/react/guides/customize-skins#style-skin-source)

### Custom interface

You can also build an interface without starting from a skin. In that model, you choose and arrange individual [UI components](https://videojs.org/docs/framework/react/guides/ui-components) around the media. This takes more work, but it avoids inheriting a skin’s layout and interactions.

- [Build your own skin](https://videojs.org/docs/framework/react/guides/build-your-own-skin)
- [Build your own component](https://videojs.org/docs/framework/react/guides/build-your-own-component)

## Skins, features, and presets

Each skin is built with specific [features](https://videojs.org/docs/framework/react/guides/features) in mind. For example, a video skin renders fullscreen and picture-in-picture controls. An audio skin doesn’t.

You’ll find a preconfigured player, its typed hook, a skin, and the matching feature bundle exported from the same path. We call these paths **presets**.

| Import | Description | Details |
| --- | --- | --- |
| `@videojs/react/video` | General-purpose video player preset with full playback controls. | **Feature bundle:** `videoFeatures`; **Features:** [playback](https://videojs.org/docs/framework/react/reference/api/feature-playback), [playbackRate](https://videojs.org/docs/framework/react/reference/api/feature-playback-rate), [quality](https://videojs.org/docs/framework/react/reference/api/feature-quality), [audioTrack](https://videojs.org/docs/framework/react/reference/api/feature-audio-track), [volume](https://videojs.org/docs/framework/react/reference/api/feature-volume), [time](https://videojs.org/docs/framework/react/reference/api/feature-time), [source](https://videojs.org/docs/framework/react/reference/api/feature-source), [buffer](https://videojs.org/docs/framework/react/reference/api/feature-buffer), [fullscreen](https://videojs.org/docs/framework/react/reference/api/feature-fullscreen), [pip](https://videojs.org/docs/framework/react/reference/api/feature-pip), [remotePlayback](https://videojs.org/docs/framework/react/reference/api/feature-remote-playback), [controls](https://videojs.org/docs/framework/react/reference/api/feature-controls), [textTrack](https://videojs.org/docs/framework/react/reference/api/feature-text-tracks), [textCues](https://videojs.org/docs/framework/react/reference/api/feature-text-cues), [error](https://videojs.org/docs/framework/react/reference/api/feature-error), [metadata](https://videojs.org/docs/framework/react/reference/api/feature-metadata); **Skins:** `<CompatVideoSkin>` with `import '@videojs/react/video/compat-skin.css';`, `<NeutralVideoSkin>` with `import '@videojs/react/video/neutral-skin.css';`, `<ScaffoldVideoSkin>` with `import '@videojs/react/video/scaffold-skin.css';`, `<VideoSkin>` with `import '@videojs/react/video/skin.css';`; **Default media component:** `<Video>` |
| `@videojs/react/audio` | Audio-only player preset with playback and volume controls. | **Feature bundle:** `audioFeatures`; **Features:** [playback](https://videojs.org/docs/framework/react/reference/api/feature-playback), [playbackRate](https://videojs.org/docs/framework/react/reference/api/feature-playback-rate), [volume](https://videojs.org/docs/framework/react/reference/api/feature-volume), [time](https://videojs.org/docs/framework/react/reference/api/feature-time), [source](https://videojs.org/docs/framework/react/reference/api/feature-source), [buffer](https://videojs.org/docs/framework/react/reference/api/feature-buffer), [textTrack](https://videojs.org/docs/framework/react/reference/api/feature-text-tracks), [textCues](https://videojs.org/docs/framework/react/reference/api/feature-text-cues), [error](https://videojs.org/docs/framework/react/reference/api/feature-error), [metadata](https://videojs.org/docs/framework/react/reference/api/feature-metadata); **Skins:** `<CompatAudioSkin>` with `import '@videojs/react/audio/compat-skin.css';`, `<NeutralAudioSkin>` with `import '@videojs/react/audio/neutral-skin.css';`, `<ScaffoldAudioSkin>` with `import '@videojs/react/audio/scaffold-skin.css';`, `<AudioSkin>` with `import '@videojs/react/audio/skin.css';`; **Default media component:** `<Audio>` |
| `@videojs/react/background` | Ambient background video preset with no user controls. | **Feature bundle:** `backgroundFeatures`; **Features:** –; **Skins:** `<BackgroundVideoSkin>` with `import '@videojs/react/background/skin.css';`; **Default media component:** `<BackgroundVideo>` |
| `@videojs/react/live-audio` | Live audio player preset — `audio` minus playback rate, plus the live feature, with a skin that swaps the time slider and time displays for a Live button. | **Feature bundle:** `liveAudioFeatures`; **Features:** [playback](https://videojs.org/docs/framework/react/reference/api/feature-playback), [volume](https://videojs.org/docs/framework/react/reference/api/feature-volume), [time](https://videojs.org/docs/framework/react/reference/api/feature-time), [source](https://videojs.org/docs/framework/react/reference/api/feature-source), [buffer](https://videojs.org/docs/framework/react/reference/api/feature-buffer), [textTrack](https://videojs.org/docs/framework/react/reference/api/feature-text-tracks), [textCues](https://videojs.org/docs/framework/react/reference/api/feature-text-cues), [error](https://videojs.org/docs/framework/react/reference/api/feature-error), [live](https://videojs.org/docs/framework/react/reference/api/feature-live), [metadata](https://videojs.org/docs/framework/react/reference/api/feature-metadata); **Skins:** `<CompatLiveAudioSkin>` with `import '@videojs/react/live-audio/compat-skin.css';`, `<NeutralLiveAudioSkin>` with `import '@videojs/react/live-audio/neutral-skin.css';`, `<ScaffoldLiveAudioSkin>` with `import '@videojs/react/live-audio/scaffold-skin.css';`, `<LiveAudioSkin>` with `import '@videojs/react/live-audio/skin.css';`; **Default media component:** `<Audio>` |
| `@videojs/react/live-video` | Live video player preset — `video` minus playback rate, quality selection, and audio-track selection, plus the live feature, with a skin that swaps the time slider and time displays for a Live button. | **Feature bundle:** `liveVideoFeatures`; **Features:** [playback](https://videojs.org/docs/framework/react/reference/api/feature-playback), [volume](https://videojs.org/docs/framework/react/reference/api/feature-volume), [time](https://videojs.org/docs/framework/react/reference/api/feature-time), [source](https://videojs.org/docs/framework/react/reference/api/feature-source), [buffer](https://videojs.org/docs/framework/react/reference/api/feature-buffer), [fullscreen](https://videojs.org/docs/framework/react/reference/api/feature-fullscreen), [pip](https://videojs.org/docs/framework/react/reference/api/feature-pip), [remotePlayback](https://videojs.org/docs/framework/react/reference/api/feature-remote-playback), [controls](https://videojs.org/docs/framework/react/reference/api/feature-controls), [textTrack](https://videojs.org/docs/framework/react/reference/api/feature-text-tracks), [textCues](https://videojs.org/docs/framework/react/reference/api/feature-text-cues), [error](https://videojs.org/docs/framework/react/reference/api/feature-error), [live](https://videojs.org/docs/framework/react/reference/api/feature-live), [metadata](https://videojs.org/docs/framework/react/reference/api/feature-metadata); **Skins:** `<CompatLiveVideoSkin>` with `import '@videojs/react/live-video/compat-skin.css';`, `<NeutralLiveVideoSkin>` with `import '@videojs/react/live-video/neutral-skin.css';`, `<ScaffoldLiveVideoSkin>` with `import '@videojs/react/live-video/scaffold-skin.css';`, `<LiveVideoSkin>` with `import '@videojs/react/live-video/skin.css';`; **Default media component:** `<Video>` |

- [Read about presets](https://videojs.org/docs/framework/react/guides/presets)

---

React documentation: https://videojs.org/docs/framework/react/llms.txt
All documentation: https://videojs.org/llms.txt
