Files
supabase/apps/design-system/registry/default/example/page-section-horizontal.tsx
Ivan Vasilov 1cd1ebfc7f chire: Sort imports in all packages, cms, design-system and ui-library apps (#41610)
Sorted all imports in all packages, `cms`, `design-system` and
`ui-library` apps by running `pnpm format` on them.

All changes in this PR are done by the script.
2026-02-05 13:54:10 +01:00

39 lines
1.3 KiB
TypeScript

import { Card, CardContent } from 'ui'
import {
PageSection,
PageSectionContent,
PageSectionDescription,
PageSectionMeta,
PageSectionSummary,
PageSectionTitle,
} from 'ui-patterns/PageSection'
export default function PageSectionHorizontal() {
return (
<div className="w-full">
<PageSection orientation="horizontal">
<PageSectionMeta>
<PageSectionSummary>
<PageSectionTitle>Section Title</PageSectionTitle>
<PageSectionDescription>
In horizontal orientation, the summary (title and description) appears on the left,
with content arranged on the right on larger screens. This is useful for detailed
sections where you want to maintain context while viewing content.
</PageSectionDescription>
</PageSectionSummary>
</PageSectionMeta>
<PageSectionContent>
<Card>
<CardContent className="p-6">
<p className="text-sm text-foreground-light">
The content area appears alongside the summary in a horizontal layout. On smaller
screens, it will stack vertically.
</p>
</CardContent>
</Card>
</PageSectionContent>
</PageSection>
</div>
)
}