Skip to content
Menu

Buttons

Spin Off Thanks

Spin Off Thanks: A two-faced call to action where the top face spins away and drops out while a second face rises up behind it to take over.

Using Spin Off Thanks

Spin Off Thanks uses the inline preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
frontLabeltextSUBSCRIBEUp to 18 characters
backLabeltextTHANK YOUUp to 18 characters
accentcolor#FF4D8DNo additional limit in the metadata.
backColorcolor#7C5CFFNo additional limit in the metadata.
spinDegreesnumber290From 0 to 360; step 10
latchOnClickbooleantrueNo additional limit in the metadata.
Which frameworks are available for Spin Off Thanks?

Spin Off Thanks is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Spin Off Thanks depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

What accessibility details are visible in Spin Off Thanks?

The React source for Spin Off Thanks includes: attributes and handlers (aria-hidden, aria-pressed). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Spin Off Thanks handle reduced motion?

Spin Off Thanks reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components