Buttons
Plinth lift button
Plinth lift button: A heavy framed label plate on a checkered base that lifts diagonally off its plinth and takes on color when hovered or focused.
Using Plinth lift button
Plinth lift button uses the inline preview frame with a 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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
label | text | Explore more | Up to 24 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
lift | number | 7 | From 0 to 16; step 1 |
patternSize | number | 16 | From 8 to 32; step 2 |
baseHeight | number | 20 | From 0 to 35; step 1 |
Which frameworks are available for Plinth lift button?
Plinth lift button 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 Plinth lift button depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Plinth lift button?
The React source for Plinth lift button includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Plinth lift button handle reduced motion?
Plinth lift button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: ["--lift" as string]: reduced ? "0px" : lift + "px". Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.