"use client"
import * as React from "react"
import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
import { cn } from "@/lib/utils"
/* Static schematics: none of these render a portal, overlay, router or fetch. */
function Fa({ name, className }: { name: string; className?: string }) {
return
}
function Line({ w = "w-full", className }: { w?: string; className?: string }) {
return
}
function Field({ label, w = "w-full" }: { label: string; w?: string }) {
return (
)
}
/** Bounded, scaled-down page frame. */
function PageFrame({ label, height = 280, children, className }: { label: string; height?: number; children: React.ReactNode; className?: string }) {
return (
{children}
)
}
function SheetFrame({ title, children, footer }: { title: string; children: React.ReactNode; footer: React.ReactNode }) {
return (
{title}
{children}
{footer}
)
}
export function ExportDrawerPreview() {
return (
>}
>
Static schematic of the export sheet regions.
Format
{["CSV", "Excel", "PDF"].map((f, i) => (
{f}
))}
Selected columns only
)
}
export function InviteCollaboratorsDrawerPreview() {
return (
>}
>
People with access
{[["Avery Chen", "Owner"], ["Sam Patel", "Can edit"]].map(([n, r]) => (
{n[0]}
{n}
{r}
))}
)
}
export function ExamLockTemplatePreview() {
return (
Locked assessment
42:10
{[0, 1, 2, 3].map((i) =>
)}
)
}
export function FocusWorkflowTemplatePreview() {
return (
Task title
{[0, 1, 2].map((i) => )}
)
}
export function NewFocusTemplatePreview() {
return (
New question
Draft
)
}
export function LoginPagePreview() {
return (
Sign in
)
}
export function ProductMarketingPagePreview() {
return (
{["98%", "120+", "4.8"].map((s) => {s})}
Sticky demo bar
)
}
export function ProductsHomePreview() {
return (
{["Prism", "Exxat One", "Approve"].map((p) => (
{p}
))}
What's new
)
}