SearchCtrlK

  • ↑↓navigate
  • ↵open
  • escclose

Can’t find it? Contact us

CodeTabsSync

Client island: keeps one set of code tabs on the choice every set sharing its sync key makes, and remembers it.

Demo docs sites

Whole pages built only from @sdxc/ui, each for an invented product with its own palette and type. They open in a new tab.

Every demo, landings and docs sites alike, is listed in the demo gallery.

Installation

An ordinary dependency: install it, import the theme once, and import the component where it is used.

Terminal
npm add @sdxc/ui remix
typescript
import "@sdxc/ui/theme.css";

Usage

typescript
import { CodeTabsSync } from "@sdxc/ui/docs";

Renders a hidden marker carrying codeTabsSync. CodeTabs renders it whenever it has a syncKey; the island loads from the bare @sdxc/ui/docs/code-tabs-sync specifier, which the app's browser entry maps to a dynamic import.

Props

Read from the component's own types, so every prop, every default and every allowed value is listed.

@sdxc/ui

Can’t find it? Contact us