Jan2026
Oasis
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardOasis(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-oasisAbout this component
A sign-in card on a pane of frosted glass standing in a rose desert, with a glass sphere behind it that holds the horizon upside down. Press the black capsule and its puck slides the length of the pill and lands as a green tick while the two fields lock behind the glass and the address well shows a tick of its own; the card never empties. Press the tick to sign out and the form comes back.
Triggers
- Card
- Click
- State change
- Morph
- Gradient
- Ambient
Techniques
- CSS transition
- Filter
- Radial gradient
- Gradient
- Keyframes
- CSS variables
- SVG stroke
- State machine
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A section labelled Sign in holding a real form: two labelled native inputs (Email address, Password) with autocomplete, an eye toggle that is a button with aria-pressed and the label Show password, and a native submit button whose label changes between Sign in and Signed in, press to sign out. Focus rings are 2px in the card's ink colour. Signed in, the inputs are disabled and hidden.
Reduced motion
The sphere stands still and the sign-in is a cut straight to the cleared pane and the tick.
Use it in anything you build, commercial and client work included. Licence