Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsCustomization

Theming

Tapas sections have no theme of their own. They read the CSS variables shadcn/ui puts in your globals.css, so changing your theme changes every section.

Colors

Buttons, badges and highlights use --primary and --primary-foreground. Supporting text and surfaces use --muted, --muted-foreground, --card and --border. Change them and every section follows. The swatches on each section page do exactly this, scoped to the preview.

Colors lists every variable, what it is for and how many sections use it. The theme builder lets you pick an accent, neutrals and radius, see real sections in them and copy the whole globals.css, with contrast checked.

app/globals.css
:root {
  --primary: oklch(0.546 0.245 262.881);
  --primary-foreground: oklch(0.97 0.014 254.604);
  --radius: 0.75rem;
}

Dark mode

Sections use the same variables in dark mode, so whatever you define under .dark applies. Pair it with a theme switcher such as next-themes. Dark mode has the setup.

Radius and spacing

Corners come from --radius through the shadcn Card and Button. Spacing uses Tailwind classes in the component file; since the code is yours, edit them directly.