@emotion/server

Extract and inline critical css with emotion for server side rendering.

Usage no npm install needed!

<script type="module">
  import emotionServer from 'https://cdn.skypack.dev/@emotion/server';
</script>

README

@emotion/server

Extract and inline critical css with emotion.

@emotion/server provides three APIs for doing server-side rendering with emotion to extract critical css, inline critical css in html to a string and inline critical css in html to a stream.

@emotion/server's APIs are documented here.

npm install --save @emotion/css @emotion/server