import type { ReactNode } from "react"; import { Badge, Button, Card, Input } from "@trails-cool/ui"; /** * Dev-only gallery for the shared UI primitives. Renders every primitive in * its variants/states on one page so components can be built and eyeballed in * isolation — the lightweight alternative to Storybook. Registered only in * non-production builds (see routes.ts). */ function Section({ title, children }: { title: string; children: ReactNode }) { return (

{title}

{children}
); } export default function DevUi() { return (

UI primitives

Shared @trails-cool/ui components on the design-system tokens.

Neutral Elevation NIGHT 2

Subtle card

On a subtle surface tone.

Raised card

Elevated with a soft shadow.

); }