Sabo ships with a rich set of UI components built with React 19, Tailwind CSS v4, and shadcn/ui + Magic UI primitives.Documentation Index
Fetch the complete documentation index at: https://docs.getsabo.com/llms.txt
Use this file to discover all available pages before exploring further.
- Import pattern:
@/components/ui/... - Browse components from the sidebar on the left (Base, Forms, Overlays, Data Display, Feedback, Navigation, Magic UI).
- For page-level sections (Hero, Pricing, etc.), see Marketing pages under Customization Guides → Marketing Pages.
Global Setup (once)
Most components are import-and-use. For global behavior, set these once near the app root:Theme & Styling
- Already wired with
next-themesand Tailwind v4 tokens (colors, radius, spacing). - Use
classNameto extend/override per-component styles. - Learn more: Styling, Dark Mode, Responsive
Toast (Sonner)
- A “toast” is a brief, non‑blocking notification that overlays the UI and disappears automatically.
- You must render a single
<Toaster />near the app root; otherwisetoast.*(...)calls won’t show.
sabo/src/app/layout.tsx
- Setup and usage: Toast (Sonner)
Quick Start
Follow these basics with any UI component:- Import from
@/components/ui/... - Pick a variant/size when available (preferred for most styling)
- Use
classNameonly for small, last‑mile tweaks (spacing, minor radius, one‑off layout)
sabo/src/components/ui/button.tsx
Conventions
Server vs Client Components
All components are Server Components by default (RSC). Add"use client" at the top of a file only when you need:
- React hooks (useState, useEffect, useRef, etc.)
- Browser APIs (window, document, localStorage, etc.)
- Event handlers (onClick, onChange, onSubmit, etc.)