BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ridiculous/easing-picker

Easing Picker

ridiculous/easing-picker
FreeComponent

Ridiculously typed CSS easing-function picker with a bezier canvas, spring/bounce/wiggle physics baked to linear(), and a polynomial preset gallery. Ships a 6-property animation preview and 3-format output (CSS / Tailwind v3 / v4).

Install it

npx shadcn@latest add http://ridiculous.turtlesocks.dev/r/easing-picker.json

Source

src/components/ui/easing-picker/easing-picker.tsxridiculous.turtlesocks.dev/r/easing-picker.json · first 6 KB
1"use client"
2
3import type React from "react"
4import { useEffect, useRef, useState } from "react"
5import { Button } from "@/components/ui/button"
6import {
7 Popover,
8 PopoverContent,
9 PopoverTrigger,
10} from "@/components/ui/popover"
11import { cn } from "@/lib/utils"
12import {
13 ALL_BASES,
14 DEFAULT_BEZIER_STATE,
15 DEFAULT_BY_BASIS,
16} from "./easing-picker.constants"
17import { formatEasing, matchPreset, parseEasing } from "./easing-picker.helpers"
18import type {
19 EasingBasis,
20 EasingState,
21 EasingString,
22 EasingStringMap,
23} from "./easing-picker.types"
24import { BasisControls } from "./panel/basis-controls"
25import { PreviewSection } from "./panel/preview-section"
26import type { PreviewProperty } from "./preview/easing-preview"
27import type { OutputFormat } from "./preview/output-panel"
28
29// ---------------------------------------------------------------------------
30// Public re-exports — keep the barrel surface stable for tests + examples.
31// ---------------------------------------------------------------------------
32
33export type { BezierCanvasProps } from "./controls/bezier-canvas"
34export { BezierCanvas } from "./controls/bezier-canvas"
35export type {
36 BounceControlsProps,
37 SpringControlsProps,
38 WiggleControlsProps,
39} from "./controls/physics-controls"
40export {
41 BounceControls,
42 SpringControls,
43 WiggleControls,
44} from "./controls/physics-controls"
45export type { PresetGalleryProps } from "./controls/preset-gallery"
46export { PresetGallery } from "./controls/preset-gallery"
47export type { StepsControlsProps } from "./controls/steps-controls"
48export { StepsControls } from "./controls/steps-controls"
49export type { Sample } from "./easing-picker.helpers"
50export {
51 bakeLinear,
52 bezierFromPreset,
53 formatEasing,
54 matchPreset,
55 PRESETS,
56 parseEasing,
57 sampleBounce,
58 sampleSpring,
59 sampleWiggle,
60} from "./easing-picker.helpers"
61export type {
62 EasingPreviewProps,
63 PreviewProperty,
64} from "./preview/easing-preview"
65export { EasingPreview } from "./preview/easing-preview"
66
67// ---------------------------------------------------------------------------
68// EasingPicker — popover trigger wrapping the panel
69// ---------------------------------------------------------------------------
70
71export interface EasingPickerProps<
72 TBasis extends EasingBasis | undefined = undefined,
73> extends EasingPanelProps<TBasis> {}
74
75export function EasingPicker<
76 TBasis extends EasingBasis | undefined = undefined,
77>({
78 value,
79 onChange,
80 basis,
81 output,
82 className,
83// … truncated

What it pulls in

Other registry items

  • button
  • popover

Files it writes

  • src/components/ui/easing-picker/index.ts
  • src/components/ui/easing-picker/easing-picker.tsx
  • src/components/ui/easing-picker/easing-picker.types.ts
  • src/components/ui/easing-picker/easing-picker.constants.ts
  • src/components/ui/easing-picker/easing-picker.helpers.ts
  • src/components/ui/easing-picker/easing-picker.presets.ts
  • src/components/ui/easing-picker/controls/basis-tabs.tsx
  • src/components/ui/easing-picker/controls/bezier-canvas.tsx
  • src/components/ui/easing-picker/controls/bezier-inputs.tsx
  • src/components/ui/easing-picker/controls/physics-controls.tsx
  • src/components/ui/easing-picker/controls/preset-gallery.tsx
  • src/components/ui/easing-picker/controls/slider-group.tsx
  • src/components/ui/easing-picker/controls/steps-controls.tsx
  • src/components/ui/easing-picker/panel/basis-controls.tsx
  • src/components/ui/easing-picker/panel/preview-section.tsx
  • src/components/ui/easing-picker/preview/easing-preview.tsx
  • src/components/ui/easing-picker/preview/output-panel.tsx

Facts

Registry
ridiculous
Type
registry:ui
Access
Free
Files written
17
Licence
MIT
In the index
at or before 2026-08-10
Last confirmed
yesterday

Go to the source

ridiculous.turtlesocks.dev TurtIeSocks/ridiculous on GitHub Raw registry item This item as JSON

More from ridiculous

All 22 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
All ridiculous componentsallridiculousComponentsFreeno deps
Anchor Position Editoranchor-position-editorridiculousComponentsFreeno deps · 9 files
Background Editorbackground-editorridiculousComponentsFreeno deps · 9 files
Box Shadow Editorbox-shadow-editorridiculousComponentsFreeno deps · 7 files
Calc Editorcalc-editorridiculousComponentsFreeno deps · 4 files
Clip Path Editorclip-path-editorridiculousComponentsFreeno deps · 20 files
Color Functioncolor-functionridiculousComponentsFreeno deps · 10 files
Color Pickercolor-pickerridiculousComponentsFreeno deps · 11 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex