Typography typographyluxuryheaders

Cinematic Typography

Text with extreme letter spacing for a luxury or cinematic look.

Preview

Cinematic Typography

Usage

Copy the full block below to use this component with its imports.

astro
---
import { CinematicTypography } from 'astro-component-kit';
---

<LetterSpacingWide>Content</LetterSpacingWide>
--- import { CinematicTypography } from 'astro-component-kit'; --- <LetterSpacingWide>Content</LetterSpacingWide>

Manual Installation

If you are not using the npm package, create a new file src/components/lib/CinematicTypography.astro and paste the following code:

astro
---
---
<div class="cinema-txt"><slot /></div>
<style>
  .cinema-txt { color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.8em; text-transform: uppercase; text-align: center; line-height: 1.5; }
</style>
--- --- <div class="cinema-txt"><slot /></div> <style> .cinema-txt { color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.8em; text-transform: uppercase; text-align: center; line-height: 1.5; } </style>

Quick Info

Category
Typography
Filename
CinematicTypography.astro
Dependencies
None — pure Astro + CSS
Tags
typographyluxuryheaders