# sher.md - Complete Component Documentation Corpus This file contains the complete documentation for all 1,158 components in the sher.md catalog. > **Navigation Index**: https://sher.md/llms.txt > **Live Site**: https://sher.md > **GitHub**: https://github.com/cherry-nft/sher-md --- # PART 1: BeUI Component Documentation Total BeUI Components: 92 --- ## BeUI Component: Animated Color Selector (@beui/color-selector) **Source Path**: docs/beui/color-selector.md **Install**: pnpm dlx shadcn@latest add @beui/color-selector **Category**: motion **Live Demo**: https://sher.md/catalog/motion/color-selector # Animated Color Selector Composable color swatches with a spring-gliding selection ring, press feedback, native radio keyboard navigation, and controlled or uncontrolled state. ## When to Use - Color pickers with animated swatch selection - Theme color selectors with smooth transitions - Palette choosers with visual feedback - Design tools needing color input with animation ## When NOT to Use / Prefer X Instead - Simple color inputs (use Input type="color") - Complex color pickers with HSL/RGB (use ColorPicker) - Text color only (use Input) ## Data It Ingests **`colors`**: array of color strings or `{ value, label }[]` **`value`** / **`onValueChange`**: selected color **`size`**: `"sm" | "md" | "lg"` — swatch size **`showLabel`**: boolean — display color names **`className`**: container classes ## Targeted Example ```tsx import { ColorSelector } from "@/components/motion/color-selector" ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/color-selector ``` ## Related Components - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) - [Expandable Control](expandable-control.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/color-selector) - [Raw Source](https://beui.dev/r/color-selector/raw) - [Live Demo](https://sher.md/catalog/motion/color-selector) --- ## BeUI Component: Animated Breadcrumb (@beui/breadcrumb) **Source Path**: docs/beui/breadcrumb.md **Install**: pnpm dlx shadcn@latest add @beui/breadcrumb **Category**: motion **Live Demo**: https://sher.md/catalog/motion/breadcrumb # Animated Breadcrumb Composable breadcrumb navigation with soft path transitions, a hoverable overflow dropdown for long trails, custom separators, and router-link support. ## When to Use - Hierarchical navigation paths - Multi-level page location indicators - File system path displays ## When NOT to Use / Prefer X Instead - Flat tab navigation (use Tabs) - Step wizards (use Stepper) ## Data It Ingests **`items`**: `{ label, href }[]` **`separator`**: custom separator node ## Targeted Example ```tsx ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/breadcrumb ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) - [Expandable Control](expandable-control.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/breadcrumb) - [Raw Source](https://beui.dev/r/breadcrumb/raw) - [Live Demo](https://sher.md/catalog/motion/breadcrumb) --- ## BeUI Component: Tilt Card (@beui/tilt-card) **Source Path**: docs/beui/tilt-card.md **Install**: pnpm dlx shadcn@latest add @beui/tilt-card **Category**: motion **Live Demo**: https://sher.md/catalog/motion/tilt-card # Tilt Card 3D perspective tilt on hover with cursor-tracked glare. ## When to Use - Interactive cards with 3D tilt on hover - Product showcases with depth effect - Hero cards with mouse-follow perspective - Feature cards needing visual interest ## When NOT to Use / Prefer X Instead - Static cards (use Card) - Touch interfaces (tilt needs mouse) - Accessibility-first contexts (decorative only) ## Data It Ingests **`children`**: card content **`max`**: number (degrees) — maximum tilt angle (default: 12) **`glare`**: boolean — show glare effect (default: true) **`className`**: card classes ## Targeted Example ```tsx import { TiltCard } from "@/components/motion/tilt-card"

Feature Title

Interactive 3D card

``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/tilt-card ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) - [Expandable Control](expandable-control.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/tilt-card) - [Raw Source](https://beui.dev/r/tilt-card/raw) - [Live Demo](https://sher.md/catalog/motion/tilt-card) --- ## BeUI Component: Button (@beui/button) **Source Path**: docs/beui/button.md **Install**: pnpm dlx shadcn@latest add @beui/button **Category**: motion **Live Demo**: https://sher.md/catalog/motion/button # Button Spring-pressed Button plus StatefulButton, MagneticButton, and MetallicButton variants. ## When to Use - Standard clickable actions: submit forms, trigger modals, navigate - Magnetic variant for playful hover attraction (cursor pulls button) - Metallic variant for premium/3D glossy surfaces - Stateful variant for async operations showing loading → success → error - Primary/secondary/ghost variants for hierarchy and emphasis ## When NOT to Use / Prefer X Instead - Navigation links (use Link or ButtonLink variant) - Icon-only without label (ensure aria-label) - Disabled state for loading (use stateful variant instead) ## Data It Ingests **Base Button**: - `variant`: `"default" | "secondary" | "ghost" | "link"` — visual style - `size`: `"sm" | "md" | "lg"` — padding scale - `disabled`: boolean **MagneticButton**: same as base + `strength` number (px radius) **MetallicButton**: same as base + metallic surface shader **StatefulButton**: base + `state: "idle" | "loading" | "success" | "error"` with animated state transitions **ButtonLink**: base + `href` — renders Next.js `` styled as button ## Targeted Example ```tsx import { Button, MagneticButton, StatefulButton } from "@/components/motion/button" // Standard // Magnetic hover Explore // Async operation Submit ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/button ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Animated CTA Buttons](expanding-arrow-button.md) - [Expandable Control](expandable-control.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/button) - [Raw Source](https://beui.dev/r/button/raw) - [Live Demo](https://sher.md/catalog/motion/button) --- ## BeUI Component: Animated CTA Buttons (@beui/expanding-arrow-button) **Source Path**: docs/beui/expanding-arrow-button.md **Install**: pnpm dlx shadcn@latest add @beui/expanding-arrow-button **Category**: motion **Live Demo**: https://sher.md/catalog/motion/expanding-arrow-button # Animated CTA Buttons Expressive call-to-action buttons with expanding, hold, and slide interactions. ## When to Use - CTA buttons with animated arrow on hover - Navigation buttons showing direction - Action buttons emphasizing forward motion - Buttons needing visual hover feedback ## When NOT to Use / Prefer X Instead - Static buttons (use Button) - Icon-only buttons (use IconButton) - Simple links (use Link) ## Data It Ingests **`children`**: button label **`onClick`**: callback **`variant`**: `"default" | "secondary" | "ghost"` **`arrow`**: `"right" | "left" | "up" | "down"` **`className`**: Tailwind classes ## Targeted Example ```tsx import { ExpandingArrowButton } from "@/components/motion/expanding-arrow-button" navigate("/next")} arrow="right" > Continue ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/expanding-arrow-button ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Expandable Control](expandable-control.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/expanding-arrow-button) - [Raw Source](https://beui.dev/r/expanding-arrow-button/raw) - [Live Demo](https://sher.md/catalog/motion/expanding-arrow-button) --- ## BeUI Component: Expandable Control (@beui/expandable-control) **Source Path**: docs/beui/expandable-control.md **Install**: pnpm dlx shadcn@latest add @beui/expandable-control **Category**: motion **Live Demo**: https://sher.md/catalog/motion/expandable-control # Expandable Control Click-to-expand button and chip controls that reveal a label or trailing action through spring layout continuity. ## When to Use - Inline expandable form controls - Compact inputs that expand on focus - Space-saving controls with detail on demand - Mobile-friendly collapsible inputs ## When NOT to Use / Prefer X Instead - Always-visible inputs (use Input) - Full forms (use Form) - Accordions (use Accordion) ## Data It Ingests **`trigger`**: collapsed state content **`children`**: expanded content **`expanded`** / **`onExpandedChange`**: controlled state **`className`**: container classes ## Targeted Example ```tsx import { ExpandableControl } from "@/components/motion/expandable-control" Filter} expanded={expanded} onExpandedChange={setExpanded} > ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/expandable-control ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/expandable-control) - [Raw Source](https://beui.dev/r/expandable-control/raw) - [Live Demo](https://sher.md/catalog/motion/expandable-control) --- ## BeUI Component: Adaptive Stepper (@beui/adaptive-stepper) **Source Path**: docs/beui/adaptive-stepper.md **Install**: pnpm dlx shadcn@latest add @beui/adaptive-stepper **Category**: motion **Live Demo**: https://sher.md/catalog/motion/adaptive-stepper # Adaptive Stepper Composable numeric stepper whose fixed footprint adapts at its minimum and maximum while the value rolls between steps. ## When to Use - Multi-step forms with progress tracking - Wizard flows with step validation - Checkout processes with numbered stages - Onboarding sequences ## When NOT to Use / Prefer X Instead - Tabs (use Tabs) - Simple pagination (use Pagination) - Single-step forms (use Form) ## Data It Ingests **`steps`**: array of `{ id, label, description?, icon? }` **`currentStep`**: number (0-indexed) **`onStepChange`**: callback **`orientation`**: `"horizontal" | "vertical"` **`completedSteps`**: Set of completed step IDs ## Targeted Example ```tsx import { AdaptiveStepper } from "@/components/motion/adaptive-stepper" ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/adaptive-stepper ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/adaptive-stepper) - [Raw Source](https://beui.dev/r/adaptive-stepper/raw) - [Live Demo](https://sher.md/catalog/motion/adaptive-stepper) --- ## BeUI Component: Marquee (@beui/marquee) **Source Path**: docs/beui/marquee.md **Install**: pnpm dlx shadcn@latest add @beui/marquee **Category**: motion **Live Demo**: https://sher.md/catalog/motion/marquee # Marquee Infinite horizontal or vertical scroll with pause-on-hover. ## When to Use - Infinite scrolling content loops (logos, testimonials, partner badges) - Auto-scrolling news tickers or status bars - Horizontal carousels without manual controls - Continuous motion backgrounds with repeated content - Interfaces needing seamless looping animation with pause-on-hover ## When NOT to Use / Prefer X Instead - User-controlled carousels (use Carousel) - Static content rows (use flex/grid) - Finite lists (use ScrollArea) ## Data It Ingests **`children`**: content to loop (duplicated internally for seamless effect) **`speed`**: number (px/s) — scroll speed (default: 50) **`direction`**: `"left" | "right" | "up" | "down"` **`pauseOnHover`**: boolean — stops animation on mouse over **`repeat`**: number — how many copies to render (default: auto-calculated) **`className`**: container classes ## Targeted Example ```tsx import { Marquee } from "@/components/motion/marquee"
Partner 1 Partner 2 Partner 3 Partner 4
``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/marquee ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/marquee) - [Raw Source](https://beui.dev/r/marquee/raw) - [Live Demo](https://sher.md/catalog/motion/marquee) --- ## BeUI Component: Tabs (@beui/tabs) **Source Path**: docs/beui/tabs.md **Install**: pnpm dlx shadcn@latest add @beui/tabs **Category**: motion **Live Demo**: https://sher.md/catalog/motion/tabs # Tabs Pill, segment or underline tabs with a spring layoutId indicator. ## When to Use - Multi-panel interfaces with one active - Settings categories - Dashboard sections - Filtered views ## When NOT to Use / Prefer X Instead - Accordion-style (use Accordion) - Steps (use Stepper) ## Data It Ingests **`value`**: string (active tab ID) **`onValueChange`**: callback **`tabs`**: `{ value, label, content }[]` ## Targeted Example ```tsx ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/tabs ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/tabs) - [Raw Source](https://beui.dev/r/tabs/raw) - [Live Demo](https://sher.md/catalog/motion/tabs) --- ## BeUI Component: Switch (@beui/switch) **Source Path**: docs/beui/switch.md **Install**: pnpm dlx shadcn@latest add @beui/switch **Category**: motion **Live Demo**: https://sher.md/catalog/motion/switch # Switch Toggle with a spring-driven thumb and press feedback. ## When to Use - Binary on/off toggles - Feature flags - Settings switches - Enable/disable controls ## When NOT to Use / Prefer X Instead - Multiple options (use RadioGroup) - Checkboxes in forms (use Checkbox) ## Data It Ingests **`checked`**: boolean **`onCheckedChange`**: callback **`label`**: string ## Targeted Example ```tsx ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/switch ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/switch) - [Raw Source](https://beui.dev/r/switch/raw) - [Live Demo](https://sher.md/catalog/motion/switch) --- ## BeUI Component: Input (@beui/input) **Source Path**: docs/beui/input.md **Install**: pnpm dlx shadcn@latest add @beui/input **Category**: motion **Live Demo**: https://sher.md/catalog/motion/input # Input Text input with label, left/right icons, optional stable error row, error shake and success check draw. ## When to Use - Text entry fields - Search boxes - Form inputs (email, password, number) - Single-line data entry ## When NOT to Use / Prefer X Instead - Multi-line text (use Textarea) - Date selection (use DatePicker) - File uploads (use FileInput) ## Data It Ingests **`value`**: string **`onChange`**: callback **`type`**: `"text" | "email" | "password" | "number"` **`placeholder`**: string ## Targeted Example ```tsx setEmail(e.target.value)} type="email" /> ``` ## Installation ```bash pnpm dlx shadcn@latest add @beui/input ``` ## Related Components - [Animated Color Selector](color-selector.md) - [Animated Breadcrumb](breadcrumb.md) - [Tilt Card](tilt-card.md) - [Button](button.md) - [Animated CTA Buttons](expanding-arrow-button.md) ## Additional Resources - [BeUI Component Page](https://beui.dev/components/motion/input) - [Raw Source](https://beui.dev/r/input/raw) - [Live Demo](https://sher.md/catalog/motion/input) --- ## BeUI Component: Select (@beui/select) **Source Path**: docs/beui/select.md **Install**: pnpm dlx shadcn@latest add @beui/select **Category**: motion **Live Demo**: https://sher.md/catalog/motion/select # Select Composable select primitives whose panel bouncily unfolds out of the trigger and separates, plus a Morph variant where the trigger grows into the panel via shared layout. ## When to Use - Dropdown selectors - Single-choice inputs - Form field options - Setting pickers ## When NOT to Use / Prefer X Instead - Multi-select (use Combobox) - Radio buttons visible (use RadioGroup) ## Data It Ingests **`value`**: string (selected ID) **`onValueChange`**: callback **`options`**: `{ value, label }[]` ## Targeted Example ```tsx ) ``` ## Installation ```bash pnpm dlx shadcn@latest add @reui/c-button-group-2 ``` ## Related Button Group Variants - [c-button-group-1](c-button-group-1.md) - [c-button-group-3](c-button-group-3.md) - [c-button-group-4](c-button-group-4.md) - [c-button-group-5](c-button-group-5.md) - [c-button-group-6](c-button-group-6.md) - [c-button-group-7](c-button-group-7.md) ## Additional Resources - [Component Source](/components/examples/c-button-group-2.tsx) - [Live Preview](https://sher.md/docs/reui/c-button-group-2) --- ### c-button-group-3 (@reui/c-button-group-3) **Source Path**: docs/reui/c-button-group-3.md **Install**: pnpm dlx shadcn@latest add @reui/c-button-group-3 **Component File**: components/examples/c-button-group-3.tsx **Category**: Button Group **Variant**: #3 of 57 # Button Group with icons outlined Button Group example from ReUI. ## When to Use - Button Group components for this specific variant - Variant: outline - Size: icon ## When NOT to Use - Check other Button Group variants for different patterns - Use base primitives if you need fully custom styling ## Data It Ingests **Components**: Badge **Components**: Button **Components**: ButtonGroup **Variant**: `"outline"` **Size**: `"icon"` **Icons**: FileTextIcon, PencilIcon, UploadIcon from `lucide-react` *Full source: [`components/examples/c-button-group-3.tsx`](/components/examples/c-button-group-3.tsx)* ## Targeted Example ```tsx // From components/examples/c-button-group-3.tsx return ( ``` ## Installation ```bash pnpm dlx shadcn@latest add @reui/c-button-group-3 ``` ## Related Button Group Variants - [c-button-group-1](c-button-group-1.md) - [c-button-group-2](c-button-group-2.md) - [c-button-group-4](c-button-group-4.md) - [c-button-group-5](c-button-group-5.md) - [c-button-group-6](c-button-group-6.md) - [c-button-group-7](c-button-group-7.md) ## Additional Resources - [Component Source](/components/examples/c-button-group-3.tsx) - [Live Preview](https://sher.md/docs/reui/c-button-group-3) --- ### c-button-group-4 (@reui/c-button-group-4) **Source Path**: docs/reui/c-button-group-4.md **Install**: pnpm dlx shadcn@latest add @reui/c-button-group-4 **Component File**: components/examples/c-button-group-4.tsx **Category**: Button Group **Variant**: #4 of 57 # Button Group with icons outlined Button Group example from ReUI. ## When to Use - Button Group components for this specific variant - Variant: outline - Size: icon ## When NOT to Use - Check other Button Group variants for different patterns - Use base primitives if you need fully custom styling ## Data It Ingests **Components**: Button **Components**: ButtonGroup **Components**: DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, **Variant**: `"outline"` **Size**: `"icon"` **Icons**: ChevronDownIcon from `lucide-react` *Full source: [`components/examples/c-button-group-4.tsx`](/components/examples/c-button-group-4.tsx)* ## Targeted Example ```tsx // From components/examples/c-button-group-4.tsx return (