Skip Folio navigation
React
Navigation
Navigation / Live reference
Tabs

Concrete and sky
Photography · Samuel Zeller
Folio Studio added a work.
Today, 10:24
Usage
Tabs hold related content within one task. Use links for page navigation. Arrow keys, Home, and End change the active tab; panel content remains mounted.
Exports / Tabs
Patterns import { useState } from "react";
import { Tabs } from "./folio";
export function CollectionTabs() {
const [view, setView] = useState("work");
return <Tabs label="Collection" value={view} onChange={setView} items={[
{ value: "work", label: "Work", content: <p>Your selected work.</p> },
{ value: "notes", label: "Notes", content: <p>Your working notes.</p> },
]} />;
}