A lead paragraph is an introductory paragraph that you can use at the top of a page to summarise the content. The lead paragraph should only be used once per page. This is a lead paragraph.
<Lead>This is a lead paragraph.</Lead>
Here's the <Lead />
component in action.
This is a lead paragraph.
import { type HTMLAttributes, forwardRef } from 'react'import { cn } from '#app/utils/tailwind-merge.ts'
/** * A Lead component. */const Lead = forwardRef<HTMLHeadingElement, HTMLAttributes<HTMLHeadingElement>>(({ className, ...props }, ref) => <p ref={ref} className={cn('lead', className)} {...props} />)Lead.displayName = 'Lead'
export { Lead }
.lead { @apply text-muted-500 my-fluid-11 text-fluid-xl max-w-prose font-normal leading-relaxed tracking-tight;}