### Add utilities
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/index.mdx
Install the `cn` utility function.
```bash
bunx --bun shadcn@latest add https://kokonutui.com/r/utils.json
```
```bash
npx shadcn@latest add https://kokonutui.com/r/utils.json
```
```bash
pnpm dlx shadcn@latest add https://kokonutui.com/r/utils.json
```
--------------------------------
### ParticleButton component usage
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/index.mdx
Example of how to use the ParticleButton component in your page.
```jsx
import ParticleButton from "@/components/kokonutui/particle-button";
export default function Page() {
return ;
}
```
--------------------------------
### V0 Button Example
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/v0-button.mdx
An example of how to use the V0 Button component.
```javascript
import V0Button from "@/components/kokonutui/v0-button";
```
--------------------------------
### Gradient Button Examples
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/gradient-button.mdx
Examples of GradientButton component with different variants.
```javascript
import GradientButton from "@/components/kokonutui/gradient-button";
```
--------------------------------
### Monorepo installation
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/index.mdx
For monorepo `shadcn/ui` CLI contain the options `-c` to the path to your workspace.
```bash
bunx --bun shadcn@latest add @kokonutui/particle-button -c ./apps/www
```
```bash
npx shadcn@latest add @kokonutui/particle-button -c ./apps/www
```
```bash
pnpm dlx shadcn@latest add @kokonutui/particle-button -c ./apps/www
```
--------------------------------
### Add particle-button component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/index.mdx
Add `particle-button` component to your project.
```bash
bunx --bun shadcn@latest add @kokonutui/particle-button
```
```bash
npx shadcn@latest add @kokonutui/particle-button
```
```bash
pnpm dlx shadcn@latest add @kokonutui/particle-button
```
--------------------------------
### Initialize components.json
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/index.mdx
Create a components.json file in your project by running the following command.
```bash
bunx --bun shadcn@latest init
```
```bash
npx shadcn@latest init
```
```bash
pnpm dlx shadcn@latest init
```
--------------------------------
### Hold Button Examples
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/hold-button.mdx
Examples of HoldButton with different variants and hold durations.
```javascript
import HoldButton from "@/components/kokonutui/hold-button";
```
--------------------------------
### SmoothDrawer Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/navigation/smooth-drawer.mdx
Example usage of the SmoothDrawer component.
```javascript
import SmoothDrawer from "@/components/kokonutui/smooth-drawer";
```
--------------------------------
### BeamsBackground Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/backgrounds/beams-background.mdx
An example of how to use the BeamsBackground component.
```javascript
import BeamsBackground from "@/components/kokonutui/beams-background";
```
--------------------------------
### TypeWriter Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/type-writer.mdx
Example of using the TypeWriter component.
```javascript
import TypeWriter from "@/components/kokonutui/type-writer";
```
--------------------------------
### AILoadingState Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/ai/ai-loading.mdx
Example usage of the AILoadingState component.
```javascript
import AILoadingState from "@/components/kokonutui/ai-loading";
```
--------------------------------
### SmoothTab Component Usage
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/navigation/smooth-tab.mdx
Example of how to import and use the SmoothTab component.
```javascript
import SmoothTab from "@/components/kokonutui/smooth-tab";
```
--------------------------------
### DynamicText Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/dynamic-text.mdx
Example usage of the DynamicText component.
```javascript
import DynamicText from "@/components/kokonutui/dynamic-text";
```
--------------------------------
### ShapeHero Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/backgrounds/shape-hero.mdx
Example of how to use the ShapeHero component.
```javascript
import ShapeHero from "@/components/kokonutui/shape-hero";
```
--------------------------------
### AI Prompt Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/ai/ai-prompt.mdx
Example usage of the AI_Prompt component.
```javascript
import AI_Prompt from "@/components/kokonutui/ai-prompt";
```
--------------------------------
### ActionSearchBar Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/navigation/action-search-bar.mdx
This is the ActionSearchBar component used in the example.
```javascript
import ActionSearchBar from "@/components/kokonutui/action-search-bar";
```
--------------------------------
### Apple Activity Card
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/apple-activity-card.mdx
This is an example of how to use the Apple Activity Card component.
```javascript
import AppleActivityCard from "@/components/kokonutui/apple-activity-card";
```
--------------------------------
### ScrollText Component Usage
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/scroll-text.mdx
Example of how to import and use the ScrollText component.
```jsx
import ScrollText from "@/components/kokonutui/scroll-text";
```
--------------------------------
### MatrixText Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/matrix-text.mdx
Example of using the MatrixText component with custom text and class names.
```javascript
import MatrixText from "@/components/kokonutui/matrix-text";
```
--------------------------------
### ShimmerText Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/shimmer-text.mdx
Example of using the ShimmerText component with a custom class name.
```javascript
import ShimmerText from "@/components/kokonutui/shimmer-text";
```
--------------------------------
### SwooshText Component Usage
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/swoosh-text.mdx
Example of how to use the SwooshText component with hover effect.
```javascript
import SwooshText from "@/components/kokonutui/swoosh-text";
```
--------------------------------
### Carousel Cards Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/carousel-cards.mdx
Example usage of the CarouselCards component.
```javascript
import CarouselCards from "@/components/kokonutui/carousel-cards";
```
--------------------------------
### GlitchText Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/glitch-text.mdx
Example of using the GlitchText component with size '2xl'.
```javascript
import GlitchText from "@/components/kokonutui/glitch-text";
```
--------------------------------
### SlicedText Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/texts/sliced-text.mdx
Example of using the SlicedText component with a large text size.
```javascript
import SlicedText from "@/components/kokonutui/sliced-text";
```
--------------------------------
### SlideTextButton Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/slide-text-button.mdx
Example usage of the SlideTextButton component with hover text.
```javascript
import SlideTextButton from "@/components/kokonutui/slide-text-button";
```
--------------------------------
### Profile Dropdown Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/navigation/profile-dropdown.mdx
Import and render the ProfileDropdown component.
```javascript
import ProfileDropdown from "@/components/kokonutui/profile-dropdown";
```
--------------------------------
### Commands
Source: https://github.com/kokonut-labs/kokonutui/blob/main/CLAUDE.md
Development and build commands for the project.
```bash
bun run dev # Dev server with Turbopack
bun run build # Production build
bun run lint # Next.js linter
bun x ultracite fix # Format and auto-fix linting issues (run before committing)
bun x ultracite check # Check for issues without fixing
bun run ./scripts/build-registry.ts # Rebuild public/r/*.json registry files + public/llms.txt
```
--------------------------------
### CommandButton
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/command-button.mdx
Command button for shortcut.
```javascript
import CommandButton from "@/components/kokonutui/command-button";
```
--------------------------------
### Toolbar
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/navigation/toolbar.mdx
Multiples actions toolbar inspired by Figma.
```javascript
import ToolbarDemo from "@/components/kokonutui/toolbar";
```
--------------------------------
### Bento Grid Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/bento-grid.mdx
Import and usage of the BentoGrid component.
```javascript
import BentoGrid from "@/components/kokonutui/bento-grid";
```
--------------------------------
### AI Text Loading Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/ai/ai-text-loading.mdx
This snippet shows how to import and use the AITextLoading component.
```javascript
import AITextLoading from "@/components/kokonutui/ai-text-loading";
```
--------------------------------
### BackgroundPaths Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/backgrounds/background-paths.mdx
This snippet shows how to import and use the BackgroundPaths component.
```javascript
import BackgroundPaths from "@/components/kokonutui/background-paths";
```
--------------------------------
### CardStack Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/card-stack.mdx
Import and usage of the CardStack component.
```javascript
import CardStack from "@/components/kokonutui/card-stack";
```
--------------------------------
### Particle Button
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/particle-button.mdx
Particle Button Animation on click.
```javascript
import ParticleButton from "@/components/kokonutui/particle-button";
Click me!
```
--------------------------------
### AttractButton
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/attract-button.mdx
Attract particles button!
```javascript
import AttractButton from "@/components/kokonutui/attract-button";
```
--------------------------------
### Liquid Glass Card
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/liquid-glass-card.mdx
Liquid Glass inspired by @Apple
```javascript
import LiquidGlassCard from "@/components/kokonutui/liquid-glass-card";
```
--------------------------------
### AI Input Search Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/ai/ai-input-search.mdx
Import and render the AI_Input_Search component.
```javascript
import AI_Input_Search from "@/components/kokonutui/ai-input-search";
```
--------------------------------
### Spotlight Cards Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/spotlight-cards.mdx
Import and usage of the SpotlightCards component.
```javascript
import SpotlightCards from "@/components/kokonutui/spotlight-cards";
```
--------------------------------
### TweetCard Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/tweet-card.mdx
Import and render the TweetCard component.
```javascript
import TweetCard from "@/components/kokonutui/tweet-card";
```
--------------------------------
### robots.txt Configuration
Source: https://github.com/kokonut-labs/kokonutui/blob/main/app/robots.txt
This is a standard robots.txt file configuration that specifies which parts of the website search engine crawlers are allowed or disallowed to access.
```robots.txt
User-Agent: *
Allow: /
Disallow: /api/
Disallow: /_next/
Sitemap: https://kokonutui.com/sitemap.xml
```
--------------------------------
### SwitchButton Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/switch-button.mdx
A basic SwitchButton component implementation.
```javascript
import SwitchButton from "@/components/kokonutui/switch-button";
```
--------------------------------
### Loader Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/inputs/loader.mdx
A simple loader component.
```javascript
import Loader from "@/components/kokonutui/loader";
```
--------------------------------
### Card Flip Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/card-flip.mdx
Import and usage of the CardFlip component.
```javascript
import CardFlip from "@/components/kokonutui/card-flip";
```
--------------------------------
### AvatarPicker Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/inputs/avatar-picker.mdx
Basic AvatarPicker component usage.
```jsx
import AvatarPicker from "@/components/kokonutui/avatar-picker";
```
--------------------------------
### AI Voice Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/ai/ai-voice.mdx
Import and render the AI_Voice component.
```javascript
import AI_Voice from "@/components/kokonutui/ai-voice";
```
--------------------------------
### Flow Field Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/backgrounds/flow-field.mdx
Import and use the FlowField component.
```javascript
import FlowField from "@/components/kokonutui/flow-field";
```
--------------------------------
### Mouse Effect Card Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/mouse-effect-card.mdx
Import and usage of the MouseEffectCard component.
```javascript
import MouseEffectCard from "@/components/kokonutui/mouse-effect-card";
```
--------------------------------
### Social Button
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/buttons/social-button.mdx
Animated Social show-up
```javascript
import SocialButton from "@/components/kokonutui/social-button";
```
--------------------------------
### TeamSelector Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/inputs/team-selector.mdx
Import and render the TeamSelector component.
```javascript
import TeamSelector from "@/components/kokonutui/team-selector";
```
--------------------------------
### MorphicNavbar Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/navigation/morphic-navbar.mdx
Import and render the MorphicNavbar component.
```javascript
import MorphicNavbar from "@/components/kokonutui/morphic-navbar";
```
--------------------------------
### File Upload Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/inputs/file-upload.mdx
A basic file upload component with a special uploading animation and drag-and-drop functionality.
```javascript
import FileUpload from "@/components/kokonutui/file-upload";
```
--------------------------------
### Currency Transfer Component
Source: https://github.com/kokonut-labs/kokonutui/blob/main/content/docs/cards/currency-transfer.mdx
A currency transfer component with a multi-step animation, inspired by transaction flows.
```javascript
import CurrencyTransfer from "@/components/kokonutui/currency-transfer";
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.