Typography
Reusable components for headings, paragraphs, and other text elements, following the Typography.H1, Typography.P, etc. naming convention.
import { Typography } from "@rhinolabs/ui"
export default function TypographyDemo() { return ( <Typography.H1>Main Heading</Typography.H1> <Typography.P>This is a sample paragraph.</Typography.P> )}Available Components
Section titled “Available Components”Typography.H1Typography.H2Typography.H3Typography.H4Typography.H5Typography.H6Typography.PTypography.BlockquoteTypography.ListTypography.InlineCodeTypography.LeadTypography.LargeTypography.SmallTypography.Muted
More Examples
Section titled “More Examples”<Typography.H1>H1 Title</Typography.H1><Typography.H2>H2 Title</Typography.H2>
<Typography.P> A paragraph with <Typography.InlineCode>inline code</Typography.InlineCode>.</Typography.P>
<Typography.Blockquote>A highlighted quote.</Typography.Blockquote>
<Typography.List> <Typography.ListItem>Item 1</Typography.ListItem> <Typography.ListItem>Item 2</Typography.ListItem></Typography.List>All components accept the className prop for additional customization.
Design Considerations
Section titled “Design Considerations”- Use semantic HTML elements for headings and paragraphs
- Maintain a clear hierarchy and structure
- Ensure text is readable and accessible
- Support responsive design and scaling
- Allow customization for different use cases
Accessibility
Section titled “Accessibility”- Uses semantic tags for better screen reader support
- Supports ARIA attributes where necessary
- Ensures sufficient color contrast
- Allows keyboard navigation