Skip to main content

Shadow Button

A button whose coloured shadow grows on hover. It leans toward the cursor and presses in when clicked.

  • 3.6 KB .bexode
  • 6 live inputs
  • Responsive fit Layout
Live runtime

Use it

The code follows your customizations. Install with npm i exodeui.

import { ExodeUICanvas } from 'exodeui';

// shadow-button.bexode goes in /public (download it below)
export function ShadowButton() {
  return (
    <ExodeUICanvas
      src="/shadow-button.bexode"
      fit="Layout"   // responsive: redraws at any container size
      autoPlay
      interactive
      onTrigger={(name) => {
        // fires: 'click'
      }}
      style={{ width: '100%', height: 360 }}
    />
  );
}

Inputs

InputTypeDefaultRange
labelTextGet Access—
badgeTextPRO—
accentText#8926f1hex colour
accent2Text#ff5e7ehex colour
textText#ffffffhex colour
bgText#0c0a12hex colour

Events (via onTrigger): click

ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →