Skip to content

Instantly share code, notes, and snippets.

@dikyarga
dikyarga / Typography.tsx
Created May 11, 2025 15:20 — forked from travyyx/Typography.tsx
A shadcn ui typography file for heading and paragraphs
import React from 'react';
interface Props {
className?: string;
children: string;
}
const H1: React.FC<Props> = ({className, children}) => {
return (
<h1 className={`scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl ${className}`}>