registry.json
kokonut-ui
AI Input Selector
AI chat input with a model menu, a separate Effort control, file chips you can drop or paste, a / command menu, and Stop while replying.
- Dependencies: lucide-react, motion
- Registry Dependencies: textarea, dropdown-menu
- Files:
- components/kokonutui/ai-prompt.tsx (registry:component)
- hooks/use-auto-resize-textarea.ts (registry:hook)
Command Button
A button with its shortcut drawn as keycaps that sink as you press the real keys.
- Files:
- components/kokonutui/command-button.tsx (registry:component)
Flick Card
A two-sided card you spin with a drag or a flick, with thickness, light and a floor shadow that follow the angle.
- Files:
- components/kokonutui/card-flip.tsx (registry:component)
Smooth Drawer
Checkout bottom sheet on Vaul snap points, peeking at the total and dragging up for details.
- Dependencies: lucide-react, motion
- Registry Dependencies: drawer, button
- Files:
- components/kokonutui/smooth-drawer.tsx (registry:component)
Halftone Background
Any image, or a lit sphere, printed as a halftone dot screen, with a loupe that looks closer under the cursor, built with React and canvas.
- Files:
- components/kokonutui/halftone-background.tsx (registry:component)
Shape Hero
A landing hero where shapes drop in, pile up under the headline and can be grabbed and thrown.
- Files:
- components/kokonutui/shape-hero.tsx (registry:component)
AI Text Loading
AI thinking text with a soft wave through the letters and words that swap letter by letter.
- Dependencies: motion
- Files:
- components/kokonutui/ai-text-loading.tsx (registry:component)
Momentum Rail
A card rail you flick with momentum, snapping on a spring, with scroll-driven cover-flow depth and parallax.
- Dependencies: lucide-react
- Files:
- components/kokonutui/carousel-cards.tsx (registry:component)
File Upload
A multi-file upload queue with per-file progress, retry and cancel.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/file-upload.tsx (registry:component)
Command Palette
⌘K command palette with nested pages, fuzzy matching and in-row progress for running actions.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/action-search-bar.tsx (registry:component)
AI Input Search
AI composer with a Tools menu (browse, investigate, draft, run code, reason), a model picker and a live trace that stacks each source's avatar as it is read.
- Dependencies: lucide-react, motion
- Registry Dependencies: textarea, dropdown-menu
- Files:
- components/kokonutui/ai-input-search.tsx (registry:component)
- hooks/use-auto-resize-textarea.ts (registry:hook)
Cradle Text
A headline hung like a Newton's cradle, so a knock on one letter clacks through the word, built with React and pendulum physics.
- Files:
- components/kokonutui/cradle-text.tsx (registry:component)
Currency Transfer
Transfer tracker that converts the amount in place, walks through each step on a filling rail and ends with a copyable reference.
- Dependencies: lucide-react
- Files:
- components/kokonutui/currency-transfer.tsx (registry:component)
Background Paths
A ribbon of lines in one color that keeps flowing at any size and parts around the cursor.
- Files:
- components/kokonutui/background-paths.tsx (registry:component)
Dot Field
A halftone dot membrane that ripples behind a swipe and rings out from a click, built with React and Canvas.
- Files:
- components/kokonutui/dot-field.tsx (registry:component)
Wind
Streamlines that part around the cursor, swirl in its wake and scatter on click, built with React and Canvas.
- Files:
- components/kokonutui/flow-field.tsx (registry:component)
Topo Background
A living contour map that drifts, rises under the cursor and ripples on click, built with React and Canvas.
- Files:
- components/kokonutui/topo-background.tsx (registry:component)
Drape Background
A pleated curtain in a breeze that you can push and pull, built with React, WebGL and a cloth simulation.
- Files:
- components/kokonutui/drape-background.tsx (registry:component)
Apple Activity Card
Activity rings that draw with a count-up, lap past 100% with a shadowed end cap and dim to focus, built with React and Motion.
- Dependencies: motion
- Files:
- components/kokonutui/apple-activity-card.tsx (registry:component)
AI Voice
Voice input with a scrolling waveform, then a take you can play back, discard or send.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-voice.tsx (registry:component)
Swipe Tabs
Tabs with a swipeable panel, a drag-tracked indicator and spring physics.
- Dependencies: motion, lucide-react
- Files:
- components/kokonutui/smooth-tab.tsx (registry:component)
Marking Menu
A radial menu you hold to open or flick to pick blind, built with React and Motion.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/marking-menu.tsx (registry:component)
Team Selector
Seat picker with a scrubbable number, generated avatars and an optional rolling price line.
- Dependencies: motion, lucide-react
- Files:
- components/kokonutui/team-selector.tsx (registry:component)
Detent Dial
Rotary knob that clicks from notch to notch and coasts when flicked, built with React and Motion.
- Dependencies: motion
- Files:
- components/kokonutui/detent-dial.tsx (registry:component)
Liquid Slider
A vertical slider you fill like a glass, with a sloshing surface and rising bubbles.
- Files:
- components/kokonutui/liquid-slider.tsx (registry:component)
Signature Pad
A signature field with a sprung pen tip, speed-weighted ink and SVG output.
- Files:
- components/kokonutui/signature-pad.tsx (registry:component)
Switch Button
Light and dark theme toggle whose sun folds into a moon while the new theme spreads from the button as a circle.
- Files:
- components/kokonutui/switch-button.tsx (registry:component)
Pull Cord
A lamp switch you pull on a swinging cord, built with React and a rope simulation.
- Files:
- components/kokonutui/pull-cord.tsx (registry:component)
Tear Button
A confirm button you tear off like a ticket stub, hole by hole.
- Files:
- components/kokonutui/tear-button.tsx (registry:component)
Bell Button
A subscribe button whose bell swings and rings, with a clapper that really strikes.
- Files:
- components/kokonutui/bell-button.tsx (registry:component)
Widget Grid
Dashboard widgets you lift, drag and resize on a 6-column grid, with spring physics and full keyboard support.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/bento-grid.tsx (registry:component)
Hold Button
Press and hold to confirm, with a fill that drains back on early release and a drawn check on completion.
- Dependencies: class-variance-authority, lucide-react, motion
- Files:
- components/kokonutui/hold-button.tsx (registry:component)
Magnet Button
A call-to-action button wrapped in a field of iron filings that align to its magnetic field and lean toward your cursor.
- Dependencies: lucide-react
- Files:
- components/kokonutui/attract-button.tsx (registry:component)
Gradient Button
Layered gradient button with emerald, purple and orange variants, a gradient border, a soft inner glow, press feedback and an optional icon.
- Registry Dependencies: button
- Files:
- components/kokonutui/gradient-button.tsx (registry:component)
V0 Button
Open in v0 button that sends a component registry JSON to v0.dev for instant editing, built with React, the shadcn Button, and Tailwind CSS.
- Registry Dependencies: button
- Files:
- components/kokonutui/v0-button.tsx (registry:component)
Tool Dock
An editor tool dock with a sliding selection plate, shortcut tooltips and flyouts that you can throw to any edge.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/toolbar.tsx (registry:component)
AI State Loading
Agent progress as a list of steps with a live log, elapsed time and a summary when done.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-loading.tsx (registry:component)
AI Tool Approval
Approve or deny an agent's tool calls. Destructive calls need a press and hold, and decided calls fold into a trace with their output.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-tool-approval.tsx (registry:component)
AI Context Meter
How full the context window is, as a ring in the prompt footer that opens a breakdown by source and compacts when it fills.
- Dependencies: motion
- Files:
- components/kokonutui/ai-context-meter.tsx (registry:component)
AI Inline Citations
An answer with source chips beside each claim. One preview glides between chips and lights up the sentence it backs.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-citations.tsx (registry:component)
AI Diff Review
A coding agent's edits streaming in file by file, then reviewed per file with accept, reject and undo.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-diff-review.tsx (registry:component)
AI Model Selector
Pick a model and how hard it thinks. Effort is a detent track that reshapes for each model and keeps your level when you switch.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-model-selector.tsx (registry:component)
Throw Deck
A pile of image cards you drag, flick off the top and send under the deck, with arrow keys and a details view.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/card-stack.tsx (registry:component)
Notification Stack
Stacked notifications that fan out on hover and swipe away, built with React and Tailwind CSS.
- Dependencies: lucide-react
- Files:
- components/kokonutui/notification-stack.tsx (registry:component)
Liquid Gauge
A usage meter filled with liquid that sloshes, ripples and bubbles, built with React and a wave simulation.
- Files:
- components/kokonutui/liquid-gauge.tsx (registry:component)
Activity Terrain
A contribution heatmap that tilts up into a 3D terrain you can turn, built with React and canvas.
- Files:
- components/kokonutui/activity-terrain.tsx (registry:component)
Receipt Printer
A receipt that prints line by line, then tears off and falls when you pull it, built with React.
- Files:
- components/kokonutui/receipt-printer.tsx (registry:component)
Metric Card
A revenue KPI card. Scrub a day, drag a range, or pick a segment; the number rolls, the line morphs and the breakdown follows.
- Files:
- components/kokonutui/metric-card.tsx (registry:component)
Uptime Card
A status page card with 90 days per service that swell under the cursor, and a day you click opens its incident log.
- Dependencies: lucide-react
- Files:
- components/kokonutui/uptime-card.tsx (registry:component)
Spending Ring
A spending breakdown you spin like a dial; flick the ring and it settles with a category under the marker.
- Files:
- components/kokonutui/spending-ring.tsx (registry:component)
Focal Point Picker
Set where a photo's subject is and see every crop follow it live. Hover a crop to see what it cuts.
- Files:
- components/kokonutui/focal-point-picker.tsx (registry:component)
Photo Straighten
Level a crooked photo on a ruler you drag or flick. The crop grows to hide the corners, and a grid shows while you adjust.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/photo-straighten.tsx (registry:component)
Clip Trimmer
A video trim timeline with a filmstrip, handles that snap to whole seconds and a playhead that loops the kept range.
- Dependencies: lucide-react
- Files:
- components/kokonutui/clip-trimmer.tsx (registry:component)
Synced Transcript
A transcript that follows the spoken word, lets you click any word to jump there, and waits when you scroll away.
- Dependencies: lucide-react
- Files:
- components/kokonutui/synced-transcript.tsx (registry:component)
Avatar Picker
Generated avatars from a name, morphing as you type, on a 3D coin you can flick, tap or shuffle.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/avatar-picker.tsx (registry:component)
Wheel Picker
iOS-style 3D drum picker with flick momentum, built with React and Motion.
- Dependencies: motion
- Files:
- components/kokonutui/wheel-picker.tsx (registry:component)
Typing Text
Typewriter text that makes the odd typo and corrects it, erases by selecting, and blinks its caret only when idle, built with React and Motion.
- Dependencies: motion
- Files:
- components/kokonutui/type-writer.tsx (registry:component)
Extruded Text
Zinc 3D extruded text lit by your pointer, with letters that press in like keycaps.
- Files:
- components/kokonutui/swoosh-text.tsx (registry:component)
Scroll Index
A section rail for long pages, with a tick per heading that you can hover, click or drag to scrub, built with React.
- Files:
- components/kokonutui/scroll-index.tsx (registry:component)
Plucked Text
A headline sitting on a string you can pluck, strum and let ring, built with React and real string physics.
- Files:
- components/kokonutui/plucked-text.tsx (registry:component)
Glitch Text
Flat text that cuts into hard-shifted bands with a thin red/cyan split, on idle, hover or text change.
- Files:
- components/kokonutui/glitch-text.tsx (registry:component)
Dynamic Text
Morphing text where shared letters travel, old ones fall and new ones land, with decode and cycle modes.
- Files:
- components/kokonutui/dynamic-text.tsx (registry:component)
Particle Button
A status button for async actions, with a spinner, a drawn check and a particle burst on success.
- Dependencies: class-variance-authority, lucide-react, motion
- Registry Dependencies: button
- Files:
- components/kokonutui/particle-button.tsx (registry:component)
Now Playing
Music card with a spinning disc you can grab and turn to scrub, built with React and Tailwind CSS.
- Dependencies: class-variance-authority, lucide-react
- Registry Dependencies: card, button
- Files:
- components/kokonutui/liquid-glass-card.tsx (registry:component)
Account Menu
An account card that morphs into its own menu, with account switching, status, theme and hold-to-sign-out.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/profile-dropdown.tsx (registry:component)
Loader
Animated loading indicator with rotating gradient rings, size variants and customizable title text. Built with React and Tailwind CSS.
- Files:
- components/kokonutui/loader.tsx (registry:component)
Slide Text Button
Animated link button with a vertical text slide on hover and default and ghost variants, built with React, Next.js Link, and Tailwind CSS.
- Files:
- components/kokonutui/slide-text-button.tsx (registry:component)
Split Nav
Navigation bar that splits around the active link, with drag-to-scrub, flick projection and an optional compact fold.
- Dependencies: motion
- Files:
- components/kokonutui/morphic-navbar.tsx (registry:component)
Status Island
A pill that reports background work, reshaping as tasks change and opening into a list of everything in flight.
- Dependencies: motion
- Files:
- components/kokonutui/status-island.tsx (registry:component)
Morph Popover
A button that grows into the form it opens, with its label sliding up to become the title, then shrinks into a confirmation.
- Dependencies: motion
- Files:
- components/kokonutui/morph-popover.tsx (registry:component)
Lightbox Grid
A photo grid whose thumbnails grow into a full view and fly back to their slot when you drag them down.
- Dependencies: motion
- Files:
- components/kokonutui/lightbox-grid.tsx (registry:component)
Spoiler Text
Inline text hidden under drifting specks, like a chat spoiler. A click blows the specks away from the point you touched.
- Files:
- components/kokonutui/spoiler-text.tsx (registry:component)
Stack Panel
A panel that drills into pages like settings on a phone. The tapped row's label flies up into the title, and a swipe right takes you back.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/stack-panel.tsx (registry:component)
AI Autocomplete
A text box that suggests how your sentence ends in grey after the caret. Tab takes it all, the right arrow takes one word, and typing the same letters keeps it.
- Files:
- components/kokonutui/ai-autocomplete.tsx (registry:component)
Undo Button
An action button that gives you a few seconds to take it back, with the time left drawn around its own edge.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/undo-button.tsx (registry:component)
Time Zone Planner
Find a meeting time across time zones. Turn the meeting round a 24-hour dial where each ring is someone's day.
- Dependencies: motion
- Files:
- components/kokonutui/timezone-planner.tsx (registry:component)
Page Flip
A book you turn by the corner. Drag a page over the spine or tap to turn it.
- Dependencies: motion
- Files:
- components/kokonutui/page-flip.tsx (registry:component)
AI Token Alternatives
An answer where every unsure word shows what else the model weighed. Pick another word and the reply writes itself again from there.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-token-alternatives.tsx (registry:component)
AI Tool Calls
Tool calls inside a chat reply. Each call streams in as one row with a live timer, then they fold into a single line once the answer is ready.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-tool-calls.tsx (registry:component)
AI Checkout
An order the assistant puts together, paid without leaving the chat. The button fills while the charge runs, then the card folds into a one-line receipt.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-checkout.tsx (registry:component)
AI Connect
A tool call that stops because an app is not connected. Connect it right in the message, and the call picks up where it stopped.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-connect.tsx (registry:component)
AI Send
An email the assistant drafted, editable in place. Send starts a short countdown you can undo before anything goes out.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-send.tsx (registry:component)
AI Schedule
Meeting times the assistant found, each with a strip of both calendars so you can see why it is free. Booking folds the list into the event.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-schedule.tsx (registry:component)
AI Attachment
A file dropped into the chat uploads, then the assistant reads it page by page. Page citations in the answer light up the page they point at.
- Dependencies: motion
- Files:
- components/kokonutui/ai-attachment.tsx (registry:component)
AI Code Run
The assistant runs a short Python script in the reply. A marker steps down the lines, the output prints, and the chart it draws grows in.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-code-run.tsx (registry:component)
AI Order Status
A live delivery card in the reply. The courier moves along the route while the ETA counts down, and the route turns green on arrival.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-order-status.tsx (registry:component)
AI Handoff
The assistant hands the chat to a person, with what they will see so you don't repeat yourself. The queue counts down and the agent joins the thread.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-handoff.tsx (registry:component)
AI Conversation Branches
A chat where editing a message starts a new branch. A small tree beside it shows every version, and you can jump between them.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-branches.tsx (registry:component)
AI Agent Lanes
A lead agent hands work to sub-agents that run side by side. Each gets a lane of tool calls, and you can scrub through the whole run.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-agent-lanes.tsx (registry:component)
AI Inline Edit
Select text in a document and ask AI to rewrite it. The edit streams in place as a word-level diff you accept, discard or try again.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-inline-edit.tsx (registry:component)
AI Message Queue
Keep typing while the agent works. Follow-ups stack above the composer, where you can reorder, edit or send one now, and go in one by one when the run ends.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-message-queue.tsx (registry:component)
AI Redact
Masks names, emails, card numbers and keys as placeholders before a prompt is sent, then fills the real values back into the reply.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-redact.tsx (registry:component)
AI Memory
An assistant that saves what it learns about you into a memory list. New facts replace the ones they contradict, and you can edit or forget any of them.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/ai-memory.tsx (registry:component)
Marker Text
Hand-drawn highlights, underlines, circles, boxes and strikes that draw themselves in reading order when the text comes into view.
- Dependencies: lucide-react
- Files:
- components/kokonutui/marker-text.tsx (registry:component)
Ink Background
A hero written in ink on water. Stir it and the letters bleed, click to drop ink, and the headline gathers itself again. Built with WebGL.
- Files:
- components/kokonutui/ink-background.tsx (registry:component)
Caustics Background
A hero on the floor of a pool. Light ripples across it, clicks drop rings that bend the light, and the headline's shadow wobbles below.
- Files:
- components/kokonutui/caustics-background.tsx (registry:component)
Rain Glass Background
A hero seen through a rainy window. Drops gather and run, each a tiny lens on the view, and dragging wipes the fog off the glass.
- Files:
- components/kokonutui/rain-glass-background.tsx (registry:component)
Shadow Text
A headline that works as a sundial. Each letter casts a long, soft shadow set by the reader's clock, and bringing the pointer close turns it into a lamp.
- Files:
- components/kokonutui/shadow-text.tsx (registry:component)
Seat Map
Pick seats for a show. Drag along a row to take several, and it points out any single seat you'd leave stranded.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/seat-map.tsx (registry:component)
Amount Pad
A keypad for sending money. Digits spring into place, commas slide them along, and the amount shrinks to fit as it grows.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/amount-pad.tsx (registry:component)
Slide to Confirm
A confirm control for payments and other actions you can't take back. Slide the thumb to the end, or flick it.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/slide-to-confirm.tsx (registry:component)
Save Button
A bookmark button that files into collections. Tap to save to the last one, then change it or make a new one from the strip.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/save-button.tsx (registry:component)
Cart Button
An Add button that opens into a quantity stepper in place, with a bin at one and press-and-hold to repeat.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/cart-button.tsx (registry:component)
Card Field
A one-row card input for checkout. The number groups the way the brand prints it, then slides to its last four to make room for expiry and CVC.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/card-field.tsx (registry:component)
Stay Picker
A date range picker for booking stays. Every night shows its price, sold-out nights are hatched, and your stay is one pill that wraps across weeks.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/stay-picker.tsx (registry:component)
Slot Picker
Book a meeting on a day rail. Drag a meeting into a free gap; it hops over existing bookings, resizes in place and shows the host's local time.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/slot-picker.tsx (registry:component)
Tip Selector
A tip picker for checkout, set on a tape you drag and flick. The ticks you pass fill in, the amounts roll, and Round up makes the total a whole amount.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/tip-selector.tsx (registry:component)
Boarding Pass
A boarding pass that keeps itself current. When the gate or times change, only the changed characters roll over, the old value struck through.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/boarding-pass.tsx (registry:component)
Split Flap Text
Departure-board lettering for headlines and status lines. Each tile flips only as far as its new letter, on a hinge, a beat after its neighbour.
- Files:
- components/kokonutui/split-flap-text.tsx (registry:component)
Location Picker
Set a pickup point the way ride apps do. Drag the map under a fixed pin; it lifts off its shadow, glides onto the nearest curb, drops, and the street rolls in.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/location-picker.tsx (registry:component)
Contact Sheet
Pick from a shoot the way photographers do. Circle a frame in china marker, click again to strike it, and look through a loupe at the detail first.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/contact-sheet.tsx (registry:component)
Promise Toast
A toast that follows a task: the ring spins while it works, closes into a check or a warning when it lands, and offers Undo or Retry. Toasts stack, fan out on hover and swipe away.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/promise-toast.tsx (registry:component)
Inline Alert
An alert that does something about the problem: it lists the failed checks, re-runs them one by one, and turns from red to green when they pass.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/inline-alert.tsx (registry:component)
Save Status
An autosave pill for editors that says Editing, Saving or Saved, counts changes while offline, and syncs them when the connection comes back.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/save-status.tsx (registry:component)
Empty State
An empty list that shows what is missing and turns into it: the card in the drawing becomes your first project, ready to rename.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/empty-state.tsx (registry:component)
Helpful Rating
A page rating whose face changes with each answer, then asks what went wrong or what helped, with quick reasons and an optional note.
- Dependencies: lucide-react, motion
- Files:
- components/kokonutui/helpful-rating.tsx (registry:component)
Use Auto Resize Textarea
React hook that auto-resizes a textarea to fit its content between a min and max height.
- Files:
- hooks/use-auto-resize-textarea.ts (registry:hook)
Use Click Outside
React hook that runs a callback when the user clicks outside the referenced element.
- Files:
- hooks/use-click-outside.ts (registry:hook)
Use Copy To Clipboard
React hook that copies text to the clipboard and exposes a copied state with a reset timeout.
- Files:
- hooks/use-copy-to-clipboard.ts (registry:hook)
Use Mobile
React hook that reports whether the viewport is below the 768px mobile breakpoint.
- Files:
- hooks/use-mobile.ts (registry:hook)
Utils
The cn utility for merging Tailwind CSS classes, built on clsx and tailwind-merge.
- Dependencies: clsx, tailwind-merge
- Files:
- lib/utils.ts (registry:lib)