Sdf Circle Transition
Sdf Circle Transition is a React and Tailwind CSS component from SmoothUI, licensed MIT. Copy it and paste it into your project.
SmoothUI
MIT
other
What it is
Sdf Circle Transition is a React and Tailwind CSS component from SmoothUI, licensed MIT. Copy it and paste it into your project.
How to use it
Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.
Five free copies a month. No card.
No packages beyond the project baseline
Licence
This component comes from SmoothUI and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.
Sdf Circle Transition
"use client";
import type { ReactNode } from "react";
import SdfBlobTransition from "../sdf-blob-transition";
export interface SdfCircleTransitionProps {
children: ReactNode;
className?: string;
duration?: number;
onRest?: () => void;
transitionKey: string | number;
}
const SdfCircleTransition = ({
children,
className,
duration = 1120,
onRest,
transitionKey,
}: SdfCircleTransitionProps) => (
<SdfBlobTransition
className={className}
duration={duration}
onRest={onRest}
transitionKey={transitionKey}
variant="circle"
>
{children}
</SdfBlobTransition>
);
export default SdfCircleTransition;