### Install Verify Human Component using npx
Source: https://more-shadcn.noair.fun/components/verify-human
This command installs the 'verify-human' components from More Shadcn. It uses the shadcn-svelte CLI to add the component from a specified JSON URL. This is the primary installation method.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/verify-human.json
```
--------------------------------
### Install Spotlight Card Component
Source: https://more-shadcn.noair.fun/components/spotlight-card
Installs the spotlight-card components using the shadcn-svelte CLI. This command fetches the necessary files from the provided URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/spotlight-card.json
```
--------------------------------
### Install Phone Input Component
Source: https://more-shadcn.noair.fun/components/phone-input
Installs the phone-input components using the shadcn-svelte CLI. This command fetches the necessary files from the specified URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/phone-input.json
```
--------------------------------
### Install Color Picker Component
Source: https://more-shadcn.noair.fun/components/color-picker
Installs the color-picker components using the shadcn-svelte CLI. This command fetches the necessary files from the provided URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/color-picker.json
```
--------------------------------
### Install Video Components using npm
Source: https://more-shadcn.noair.fun/components/video
This command installs the 'video' components from More Shadcn using npm. It fetches the component configuration from the provided URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/video.json
```
--------------------------------
### Install Choicebox Component with npm
Source: https://more-shadcn.noair.fun/components/choicebox
Installs the 'choicebox' components from more-shadcn.noair.fun using npx. This command fetches and adds the necessary files to your project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/choicebox.json
```
--------------------------------
### Svelte Walkthrough Component Basic Setup
Source: https://more-shadcn.noair.fun/components/walkthrough
This snippet demonstrates the basic setup for the Walkthrough component in Svelte. It defines the steps for the tour, including target element IDs, titles, descriptions, and positioning. The `Walkthrough` component is then rendered, bound to an `openTour` variable and configured with the defined steps and padding.
```svelte
```
--------------------------------
### Install Timeline Component (CLI)
Source: https://more-shadcn.noair.fun/components/timeline
Command to install the timeline components using npx with shadcn-svelte. This command fetches the necessary files from the provided URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/timeline.json
```
--------------------------------
### Install Autocomplete Component (CLI)
Source: https://more-shadcn.noair.fun/components/autocomplete
Command to install the Autocomplete component and its dependencies using the shadcn-svelte CLI. This command fetches the necessary files from the provided URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/autocomplete.json
```
--------------------------------
### Install Chip Component
Source: https://more-shadcn.noair.fun/components/chip
Command to install the Chip component from more-shadcn.noair.fun using npx. This command fetches the necessary files to integrate the chip functionality into your project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/chip.json
```
--------------------------------
### Install Audio Wave Component with Shadcn Svelte
Source: https://more-shadcn.noair.fun/components/audio-wave
Installs the 'audio-wave' component using the shadcn-svelte CLI. This command fetches the component's configuration and adds it to your project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/audio-wave.json
```
--------------------------------
### Install Number Ticker Component
Source: https://more-shadcn.noair.fun/components/number-ticker
Installs the 'number-ticker' component using the shadcn-svelte CLI. This command fetches and adds the necessary component files to your project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/number-ticker.json
```
--------------------------------
### Install Collaborative Cursor Component
Source: https://more-shadcn.noair.fun/components/cursor
Installs the cursor component using the shadcn-svelte CLI. This command fetches the necessary files to integrate the collaborative cursor functionality into your Svelte project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/cursor.json
```
--------------------------------
### Choicebox Visual Selection Example in HTML
Source: https://more-shadcn.noair.fun/components/choicebox
Illustrates creating a visual selection interface, similar to a theme selector, by combining icons, images, and hidden indicators within Choicebox.Item elements. This example shows light, dark, and system theme options.
```html
Light
...
```
--------------------------------
### Install Image Zoom Component
Source: https://more-shadcn.noair.fun/components/image-zoom
Command to install the image-zoom components using the shadcn-svelte CLI. This command fetches the necessary files to integrate the image zoom functionality into your project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/image-zoom.json
```
--------------------------------
### Install Status Dot Component
Source: https://more-shadcn.noair.fun/components/status-dot
Command to install the status-dot components using shadcn-svelte. This command fetches the component configuration from the provided JSON URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/status-dot.json
```
--------------------------------
### Choicebox Grid Layout Example in HTML
Source: https://more-shadcn.noair.fun/components/choicebox
Shows how to apply CSS grid classes to the Choicebox.Root element to create horizontal card layouts for options. This example displays a pricing plan selection.
```html
Basic
...
...
```
--------------------------------
### Install Sortable Component using npm
Source: https://more-shadcn.noair.fun/components/sortable
Installs the 'sortable' components from more-shadcn.noair.fun using npx. This command fetches the necessary files to integrate the sortable list functionality into your project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/sortable.json
```
--------------------------------
### Add Shiny Button Component
Source: https://more-shadcn.noair.fun/components/shiny-button
Installs the Shiny Button component using the shadcn-svelte CLI. This command fetches and adds the necessary files for the component to your project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/shiny-button.json
```
--------------------------------
### Basic Shiny Button Usage
Source: https://more-shadcn.noair.fun/components/shiny-button
A fundamental example of implementing the Shiny Button component. It shows how to include the button in your markup and display text content along with an icon.
```svelte
Join Waitlist
```
--------------------------------
### Add Scrubbable Component to Svelte Project
Source: https://more-shadcn.noair.fun/components/scrubbable
Installs the scrubbable components into your Svelte project using npx. This command fetches the component definitions from the specified URL.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/scrubbable.json
```
--------------------------------
### Install Horizontal Scroll Component
Source: https://more-shadcn.noair.fun/components/horizontal-scroll
This command installs the 'horizontal-scroll' components from more-shadcn.noair.fun using the shadcn-svelte CLI. It's a prerequisite for using the HorizontalScroll component in your Svelte project.
```bash
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/horizontal-scroll.json
```
--------------------------------
### Create Action Chip
Source: https://more-shadcn.noair.fun/components/chip
Example of creating a basic action chip using the Chip.Root component. The chip is interactive and can trigger a function when clicked.
```jsx
Action Chip
```
--------------------------------
### Svelte Walkthrough Component Customization with Snippet
Source: https://more-shadcn.noair.fun/components/walkthrough
This example showcases how to fully customize the appearance of the Walkthrough component's cards using a Svelte snippet. The custom design features a dark theme with purple accents. The snippet receives a context object (`ctx`) which provides access to methods like `next()` and `close()` to control the tour flow.
```svelte
{#snippet children(ctx)}
{ctx.currentStep()?.title}
{ctx.currentStep()?.description}
{/snippet}
```
--------------------------------
### Collapsed Wheel Picker Example (Svelte)
Source: https://more-shadcn.noair.fun/components/wheel-picker
Shows a collapsed state for the Wheel Picker component using Svelte. The 'collapsed' prop on the root element reduces its visual footprint, useful for certain UI designs. It still functions with a group of items.
```svelte
{#each frameworks as fw}
{fw}
{/each}
```
--------------------------------
### Image Zoom Component Basic Usage
Source: https://more-shadcn.noair.fun/components/image-zoom
Example of using the ImageZoom.Root and ImageZoom.Trigger components for a single image. Clicking the image will open it in a larger, centered overlay.
```svelte
```
--------------------------------
### Infinite Loop Wheel Picker (Svelte)
Source: https://more-shadcn.noair.fun/components/wheel-picker
Demonstrates an infinite loop functionality for a Wheel Picker group in Svelte. The 'loop' prop allows the picker to cycle continuously through its items without a defined start or end.
```svelte
{#each days as day}
{day}
{/each}
```
--------------------------------
### Icon-Only Bottom Navigation in Svelte
Source: https://more-shadcn.noair.fun/components/bottom-nav
This example shows how to configure the Bottom Navigation component to display only icons, omitting text labels for a more compact interface. It uses the same `BottomNav.Root` and `BottomNav.Item` components but only includes icon elements within each item.
```html
```
--------------------------------
### Tag Input Validation with Email Regex
Source: https://more-shadcn.noair.fun/components/tag-input
Shows how to implement tag validation using a provided regex function. In this example, only valid email formats are accepted as tags.
```svelte
emailRegex.test(tag)}
/>
```
--------------------------------
### Create Filter Chip
Source: https://more-shadcn.noair.fun/components/chip
Example of creating a filter chip with an outline variant. The 'active' prop is used to indicate selection, and the chip can be toggled.
```jsx
{label}
```
--------------------------------
### Timeline with Rich Content (HTML)
Source: https://more-shadcn.noair.fun/components/timeline
Demonstrates how to embed rich content, such as images, within a Timeline item. This example shows a layout for displaying design assets or other media.
```html
New Assets
```
--------------------------------
### Table Server Status Display
Source: https://more-shadcn.noair.fun/components/status-dot
A complete example demonstrating how to use the Status Dot component within a table to visually represent server status (e.g., Online, Maintenance).
```svelte
ServerStatus
US-East-1
Online
EU-West-3
Maintenance
```
--------------------------------
### Use Custom Video Player Component
Source: https://more-shadcn.noair.fun/components/video
This snippet demonstrates how to use the custom video player component. It requires the 'video' component to be installed. The component accepts props such as src, poster, autoplay, muted, and loop to control video playback.
```html
```
--------------------------------
### Customize Audio Wave Component Variants
Source: https://more-shadcn.noair.fun/components/audio-wave
Shows how to customize the AudioWave component using utility classes for bars, color, and size. Examples include 'Small Green', 'Large & Thin', and 'Muted' variants.
```svelte
```
--------------------------------
### Create Removable Chip
Source: https://more-shadcn.noair.fun/components/chip
Example of creating a removable chip. The 'removable' prop enables a close button, and the 'onremove' prop defines the handler for removal.
```jsx
React
```
--------------------------------
### Style Number Ticker with Gradient and Monospace
Source: https://more-shadcn.noair.fun/components/number-ticker
Demonstrates styling the NumberTicker component using CSS classes. The first example applies a gradient text effect, while the second uses a monospace font with a specific color.
```html
```
--------------------------------
### Basic Date Strip Implementation in Svelte
Source: https://more-shadcn.noair.fun/components/date-strip
This snippet shows the fundamental setup for the Date Strip component in Svelte. It imports necessary functions from '@internationalized/date' and uses a Svelte state variable to manage the selected date.
```typescript
import { today, getLocalTimeZone } from "@internationalized/date";
let selectedDate = $state(today(getLocalTimeZone()));
{#snippet children({ date })}
{/snippet}
```
--------------------------------
### Stepper: Read-Only Status Display
Source: https://more-shadcn.noair.fun/components/stepper
Shows how to use the Stepper component in a read-only mode, suitable for displaying status or tracking timelines. By omitting the `Stepper.Trigger`, the items become static. This example visualizes an order status.
```svelte
Order Placed
```
--------------------------------
### Custom Event Item Rendering in Big Calendar (HTML/Svelte)
Source: https://more-shadcn.noair.fun/components/big-calendar
Shows how to customize the appearance of individual event items within the Big Calendar. This example includes displaying time and title within a custom card structure.
```html
{#snippet children(event)}
{event.time}{event.title}
{/snippet}
```
--------------------------------
### Allowing Only Specific Dates in Date Strip (Svelte)
Source: https://more-shadcn.noair.fun/components/date-strip
This example illustrates how to restrict date selection to only a predefined list of dates. It combines custom logic with the `isDateDisabled` prop to check if a date is included in an allowed array.
```typescript
const allowedDates = ["2025-11-24", "2025-11-26", "2025-11-28"];
function isCustomDisabled(date) {
return !allowedDates.includes(date.toString());
}
{#snippet children({ date })}
{/snippet}
```
--------------------------------
### Compare Slider with Vertical Orientation (HTML)
Source: https://more-shadcn.noair.fun/components/compare-slider
This example shows how to configure the Compare Slider to use a vertical orientation instead of the default horizontal. The 'orientation="vertical"' prop is applied to the root element.
```html
...
```
--------------------------------
### Avatar Presence with Status Dot
Source: https://more-shadcn.noair.fun/components/status-dot
Example of integrating the Status Dot component with an Avatar to indicate user presence or status. The Status Dot is positioned absolutely at the bottom-right of the avatar.
```svelte
...
```
--------------------------------
### Grid Layout Sortable List in Svelte
Source: https://more-shadcn.noair.fun/components/sortable
Configures a sortable list to use a grid layout with 3 columns. The 'orientation' is set to 'mixed' to enable 2D displacement. This example demonstrates how to apply grid classes directly to the Sortable.Root component.
```svelte
{#each items as item (item.id)}
...
{/each}
```
--------------------------------
### Basic Vertical Sortable List in Svelte
Source: https://more-shadcn.noair.fun/components/sortable
Implements a basic vertical sortable list using the Shadcn Sortable component. It binds the list items to a 'items' variable and renders each item with a handle and title. Requires the 'sortable' components to be installed.
```svelte
{#each items as item (item.id)}
{item.title}
{/each}
```
--------------------------------
### Basic Dock Component Usage (Svelte)
Source: https://more-shadcn.noair.fun/components/dock
Demonstrates the basic structure for creating a dock with icon components. It requires importing `Dock.Root`, `Dock.Icon`, and `Dock.Separator` from the library. Icons can be customized with classes and child elements like SVG components.
```svelte
```
--------------------------------
### Spotlight Card Basic Usage and Customization
Source: https://more-shadcn.noair.fun/components/spotlight-card
Demonstrates the basic structure of the Spotlight Card component and how to apply custom colors and sizes. The `color` prop accepts CSS color strings, and the `size` prop controls the spotlight radius in pixels.
```svelte
Title
Description...
...............
```
--------------------------------
### Configurable Scrubbable Input with Constraints in Svelte
Source: https://more-shadcn.noair.fun/components/scrubbable
Demonstrates a scrubbable input with a label and value display, configured with minimum and maximum value constraints, a default value, and a step increment. It also uses a 'secondary' variant.
```svelte
Volume
```
--------------------------------
### Basic Choicebox Usage in HTML
Source: https://more-shadcn.noair.fun/components/choicebox
Demonstrates the fundamental structure for using the Choicebox component. It sets up a root element and individual items, allowing users to select an option.
```html
...content
```
--------------------------------
### Multi-Column Wheel Picker with Infinite Loop (Svelte)
Source: https://more-shadcn.noair.fun/components/wheel-picker
Illustrates how to create a multi-column Wheel Picker, suitable for time or date selection, using Svelte. The 'loop' prop enables infinite scrolling for each group. Separators can be placed between columns.
```svelte
...
:
...
...
```
--------------------------------
### Basic Phone Input Configuration
Source: https://more-shadcn.noair.fun/components/phone-input
Demonstrates the default configuration of the PhoneInput component. It uses Svelte's state management to bind the input value.
```html
```
--------------------------------
### Dock Component with Tooltips (Svelte)
Source: https://more-shadcn.noair.fun/components/dock
Illustrates how to add tooltips to dock icons. The `Dock.Icon` component internally wraps a Tooltip component, so a simple `tooltip` string prop can be passed to display text on hover.
```svelte
...
```
--------------------------------
### Basic Wheel Picker Implementation (Svelte)
Source: https://more-shadcn.noair.fun/components/wheel-picker
Demonstrates the fundamental structure of a Wheel Picker component using Svelte. It involves a root element and a group to hold selectable items. The 'bind:value' directive is used to manage the selected item.
```svelte
{#each items as item}
{item}
{/each}
```
--------------------------------
### Stepper: Basic Usage with Svelte
Source: https://more-shadcn.noair.fun/components/stepper
Demonstrates the fundamental implementation of the Stepper component in Svelte. It iterates through steps, displaying triggers, indicators, titles, and separators to visualize a multi-step process. Requires Svelte and the stepper components.
```svelte
{#each steps as step, i}
{step.label}
{#if i !== steps.length - 1}
{/if}
{/each}
```
--------------------------------
### Dock Component with Image Icons (Svelte)
Source: https://more-shadcn.noair.fun/components/dock
Shows how to use `` tags within `Dock.Icon` components to create realistic application launchers. The `magnification` prop can be adjusted on `Dock.Root` for visual effect. Icons can be set to transparent backgrounds.
```svelte
...
```
--------------------------------
### Stepper: Customizing Indicator Content with Svelte Snippets
Source: https://more-shadcn.noair.fun/components/stepper
Demonstrates advanced customization of the Stepper's `Indicator` using Svelte's snippet syntax. This allows for dynamic content based on the step's state, such as displaying different icons for default and success states.
```svelte
{#snippet children()} {/snippet}
{#snippet success()} {/snippet}
```
--------------------------------
### Color Picker with Opacity and RGB Format (Svelte)
Source: https://more-shadcn.noair.fun/components/color-picker
Shows how to enable the alpha channel and set the default color format to RGB for the Color Picker. The `allowOpacity` prop adds an alpha slider and percentage input.
```svelte
```
--------------------------------
### Basic Compare Slider Implementation (HTML)
Source: https://more-shadcn.noair.fun/components/compare-slider
This snippet demonstrates the fundamental structure for implementing the Compare Slider component. It requires two image layers, a 'first' and 'second' target, and a handle for interaction. The 'aspect-video' class suggests a default aspect ratio.
```html
```
--------------------------------
### Svelte Kit Tag Input Basic Usage
Source: https://more-shadcn.noair.fun/components/tag-input
Demonstrates the basic implementation of the Tag Input component in a Svelte Kit application. It initializes with predefined tags and binds the tags array to the component.
```svelte
```
--------------------------------
### Basic QR Code Generation
Source: https://more-shadcn.noair.fun/components/qr-code
Generates a basic QR code using the provided value. This is the simplest way to implement the QR code component.
```svelte
```
--------------------------------
### Basic Audio Wave Component Usage
Source: https://more-shadcn.noair.fun/components/audio-wave
Demonstrates the basic usage of the AudioWave component in Svelte. It takes a 'playing' prop to control the animation state.
```svelte
```
--------------------------------
### Basic Color Picker Usage (Svelte)
Source: https://more-shadcn.noair.fun/components/color-picker
Demonstrates the basic integration of the Color Picker component in a Svelte application. It uses `bind:value` to manage the selected color state.
```svelte
```
--------------------------------
### Integrate VerifyHuman Component in Svelte
Source: https://more-shadcn.noair.fun/components/verify-human
This snippet demonstrates how to integrate the VerifyHuman component into a Svelte application. It shows how to bind the verified status and handle the verification event. No external dependencies are explicitly mentioned for this integration.
```svelte
{ ... }}/>
```
--------------------------------
### Display Basic Collaborative Cursor
Source: https://more-shadcn.noair.fun/components/cursor
Renders a collaborative cursor with specified X and Y coordinates, color, and a name. This is the most basic usage, showing a cursor representing a user's position.
```svelte
```
--------------------------------
### Shiny Button with Variants
Source: https://more-shadcn.noair.fun/components/shiny-button
Demonstrates how to use the Shiny Button with various standard Shadcn button variants. The shine effect dynamically adapts to the button's defined variant.
```svelte
DefaultSecondaryDestructiveOutlineGhost
```
--------------------------------
### Shiny Button with Sizes
Source: https://more-shadcn.noair.fun/components/shiny-button
Illustrates the usage of the Shiny Button component with different size options: sm, default, lg, and icon. The shine effect scales appropriately with the chosen size.
```svelte
SmallDefaultLarge
```
--------------------------------
### Tag Input with Max Tags and Custom Chip Variant
Source: https://more-shadcn.noair.fun/components/tag-input
Illustrates customizing the Tag Input component by setting a maximum number of tags and specifying a different chip variant for styling.
```svelte
```
--------------------------------
### QR Code with Custom Colors
Source: https://more-shadcn.noair.fun/components/qr-code
Customizes the QR code's module and background colors. Requires specifying the 'color' and 'backgroundColor' props.
```svelte
```
--------------------------------
### Image Zoom Component Gallery View
Source: https://more-shadcn.noair.fun/components/image-zoom
Demonstrates integrating multiple ImageZoom.Trigger components within an ImageZoom.Root to create a gallery or album view. This allows users to browse multiple images in full-screen mode.
```svelte
{#each albumImages as img}
{/each}
```
--------------------------------
### Autocomplete Component Usage (Svelte)
Source: https://more-shadcn.noair.fun/components/autocomplete
Demonstrates how to use the Autocomplete component in Svelte. It binds the input value to a query variable and filters a list of users based on the query. The component supports custom item rendering using a snippet.
```svelte
{#snippet itemSnippet(user)}
{/snippet}
```
--------------------------------
### Stepper: Vertical Orientation with Svelte
Source: https://more-shadcn.noair.fun/components/stepper
Illustrates how to configure the Stepper component for vertical orientation using the `orientation="vertical"` prop. This changes the layout and separator alignment, suitable for side-by-side information display.
```svelte
{#each steps as s, i}
{s.title}{s.desc}
{/each}
```
--------------------------------
### Bottom Navigation Component in Svelte
Source: https://more-shadcn.noair.fun/components/bottom-nav
This snippet demonstrates how to implement the Bottom Navigation component in a Svelte application. It requires importing the `BottomNav` components and placing the root element within a fixed, full-width div at the bottom of the screen. Each `BottomNav.Item` includes an `href` and child elements for an icon and label.
```html
HomeSearch
```
--------------------------------
### Phone Input Validation and Formatting Callback
Source: https://more-shadcn.noair.fun/components/phone-input
Shows how to use the `onchange` callback to receive validation status, E.164 formatted value, and the selected country code from the PhoneInput component.
```html
{
console.log(data.valid); // true/false
console.log(data.value); // E.164 format
console.log(data.country); // ISO code
}}
/>
```
--------------------------------
### Basic Scrubbable Input in Svelte
Source: https://more-shadcn.noair.fun/components/scrubbable
Renders a basic scrubbable input component with an 'outline' variant. The input's value is bound to the 'val' variable using Svelte's bind directive.
```svelte
```
--------------------------------
### Timeline Git History Layout (HTML)
Source: https://more-shadcn.noair.fun/components/timeline
Illustrates a Timeline layout suitable for displaying git history or changelogs. It includes features like version titles, badges for 'Latest', and descriptions for commits.
```html
v2.4.0Latest
...
```
--------------------------------
### Implement Hold Button Component
Source: https://more-shadcn.noair.fun/components/hold-button
This snippet demonstrates how to implement the Hold Button component. It takes props such as `variant`, `duration`, `fillColor`, and an `onComplete` callback function. The `onComplete` function is executed once the hold action is successfully completed.
```svelte
console.log("Action Triggered")}
>
Hold to Delete
```
--------------------------------
### Timeline Component Basic Structure (HTML)
Source: https://more-shadcn.noair.fun/components/timeline
Demonstrates the fundamental structure of the Timeline component, including root, item, separator, and content elements. This serves as a base for creating timeline entries.
```html
Aug 2024EventDetails...
```
--------------------------------
### Display Cursor with Custom Content
Source: https://more-shadcn.noair.fun/components/cursor
Renders a collaborative cursor with a name and custom content passed as children. This allows for displaying additional information or interactive elements, such as reactions, alongside the cursor.
```svelte
👍🔥
```
--------------------------------
### Status Dot Component Sizes
Source: https://more-shadcn.noair.fun/components/status-dot
Illustrates how to control the size of the Status Dot component using the `size` prop. Available sizes are 'sm', 'md', and 'lg'.
```svelte
```
--------------------------------
### Display Cursor Only
Source: https://more-shadcn.noair.fun/components/cursor
Renders a collaborative cursor without any associated name or content. This is useful when only the visual representation of a cursor is needed, without user identification.
```svelte
```
--------------------------------
### QR Code with Snippet Logo
Source: https://more-shadcn.noair.fun/components/qr-code
Embeds a Svelte snippet as a logo in the center of the QR code. Requires setting 'errorCorrection' to 'H' and using the 'logo' slot for the snippet.
```svelte
{#snippet logo()}
...
{/snippet}
```
--------------------------------
### QR Code with Image Logo
Source: https://more-shadcn.noair.fun/components/qr-code
Embeds an image as a logo in the center of the QR code. Requires setting 'errorCorrection' to 'H' for scannability and providing the 'logo' prop with an image path.
```svelte
```
--------------------------------
### Big Calendar Component with Event Management (Svelte)
Source: https://more-shadcn.noair.fun/components/big-calendar
Implements a Svelte component for a Big Calendar, allowing users to view events, select date ranges, and add new events. It utilizes Shadcn UI components for buttons and icons.
```typescript
import * as BigCalendar from '$lib/components/ui/big-calendar';
import { Button } from '$lib/components/ui/button';
import { Calendar, ChevronLeft, ChevronRight } from 'lucide-svelte';
// 1. State for date navigation and selection
let currentDate = $state(new Date());
let selectedRange = $state({
start: new Date(),
end: new Date()
});
// 2. Sample Data
let events = $state([
{
id: '1',
title: 'Conference',
start: new Date('2024-01-01'),
end: new Date('2024-01-03'),
type: 'default'
}
]);
// 3. Add Event Handler
function addEvent() {
if (!selectedRange.start || !selectedRange.end) return;
const title = prompt('Event Title:');
if (!title) return;
events = [...events, {
id: crypto.randomUUID(),
title,
start: new Date(selectedRange.start),
end: new Date(selectedRange.end),
type: 'default'
}];
}
```
--------------------------------
### Customize Hold Button Styling Variants
Source: https://more-shadcn.noair.fun/components/hold-button
This section shows how to customize the appearance of the Hold Button using the `fillColor` and `from` props. Different `variant` types (outline, ghost, secondary) are used with corresponding `fillColor` values to ensure contrast and visual appeal. The `from` prop controls the direction of the fill animation.
```svelte
```
--------------------------------
### Implement Horizontal Scroll with Albums
Source: https://more-shadcn.noair.fun/components/horizontal-scroll
This snippet demonstrates how to use the HorizontalScroll component to display a list of albums, enabling horizontal scrolling. It iterates over an 'albums' array and renders each album's cover and name within a div. This component is useful for showcasing collections of items that might otherwise overflow a vertical layout.
```svelte
{#each albums as album}
{album.name}
{/each}
```
--------------------------------
### Timeline with Custom Icon Separator (HTML)
Source: https://more-shadcn.noair.fun/components/timeline
Shows how to customize the Timeline separator with a specific class and an embedded custom icon component (Rocket). This allows for visual distinction of timeline events.
```html
```
--------------------------------
### Color Picker within a Popover (Svelte)
Source: https://more-shadcn.noair.fun/components/color-picker
Illustrates embedding the Color Picker component within a Svelte Popover. This allows for a modal-like color selection interface.
```svelte
{#snippet child({ props })}
{/snippet}
```
--------------------------------
### Status Dot with Pulsing Animation
Source: https://more-shadcn.noair.fun/components/status-dot
Shows how to add a pulsing animation to the Status Dot component by using the `pulse` prop. This is useful for drawing attention to an active state.
```svelte
```
--------------------------------
### Timeline Order Tracking Layout (HTML)
Source: https://more-shadcn.noair.fun/components/timeline
Presents a Timeline layout for order tracking status updates. It uses a colored separator with an icon (Truck) and styled titles to indicate delivery progress.
```html
Out for Delivery
...
```
--------------------------------
### Default Status Dot Variants
Source: https://more-shadcn.noair.fun/components/status-dot
Demonstrates the default appearance of the Status Dot component with different variants representing various states like Default, Success, Warning, Error, and Info.
```svelte
```
--------------------------------
### Phone Input with Restricted Countries and Sorting
Source: https://more-shadcn.noair.fun/components/phone-input
Configures the PhoneInput component to allow only specific countries in North America and Europe, and sorts them numerically by dial code.
```html
```
--------------------------------
### Implement Horizontal Scroll with Tags
Source: https://more-shadcn.noair.fun/components/horizontal-scroll
This snippet shows how to use the HorizontalScroll component for displaying a list of tags or category filters. It iterates over a 'tags' array and renders each tag within a Chip component, allowing for horizontal scrolling of filter options. This is particularly useful for managing overflowing tag lists or navigation filters.
```svelte
{#each tags as tag}
{tag}
{/each}
```
--------------------------------
### Disabling Weekends in Date Strip (Svelte)
Source: https://more-shadcn.noair.fun/components/date-strip
Demonstrates how to disable specific dates, such as weekends, using the `isDateDisabled` prop in the Date Strip component. It utilizes the `isWeekend` function from '@internationalized/date' for this purpose.
```typescript
import { isWeekend } from "@internationalized/date";
isWeekend(date, "en-US")}>
{#snippet children({ date })}
{/snippet}
```
--------------------------------
### Horizontal Sortable List in Svelte
Source: https://more-shadcn.noair.fun/components/sortable
Creates a horizontal sortable list, suitable for elements like tabs or tags. The 'orientation' is set to 'horizontal', and a 'flex-row' class is applied for styling. This allows items to be sorted along the X-axis.
```svelte
{#each items as item (item.id)}
...
{/each}
```
--------------------------------
### Display Number Ticker Component
Source: https://more-shadcn.noair.fun/components/number-ticker
Renders a number ticker component with a specified value. It's designed to be styled by parent elements or the 'class' prop, allowing for flexible integration into various UI designs.
```html
$
```
--------------------------------
### Disabling Dates in Big Calendar (JavaScript)
Source: https://more-shadcn.noair.fun/components/big-calendar
Demonstrates how to disable specific dates in the Big Calendar component using the `isDateDisabled` prop. This function determines which dates should be non-interactive and visually distinct.
```javascript
const isDateDisabled = (date) => {
const day = date.getDay();
return day === 0 || day === 6; // 0=Sun, 6=Sat
};
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.