Text with extreme letter spacing for a luxury or cinematic look.
Copy the full block below to use this component with its imports.
--- import { CinematicTypography } from 'astro-component-kit'; --- <LetterSpacingWide>Content</LetterSpacingWide>
If you are not using the npm package, create a new file src/components/lib/CinematicTypography.astro and paste the following code:
src/components/lib/CinematicTypography.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>
CinematicTypography.astro