No.95 · Cards· New
Aurora Foot Card
A dark feature card whose lower half catches fire with soft clouds of vivid colour rising into a white-hot band at the bottom edge, the colour spilling onto the page around it; the bloom climbs on hover.
The prompt
Written for the variant you picked above: Magenta
Build a small feature card whose bottom half blooms with colour (React + CSS, no libraries). Card: 15em × 19.4em (16px base), radius 1em, background from a dark tint of the variant's colour at the top to near-black #07070a by 55%, a faint white inner hairline. Behind it, a halo of the glow colour (an ellipse covering the lower three quarters and spilling 14% past each side, blurred 1.6em, 85% opacity) so the colour leaks onto the page. Bloom (clipped to the card): a layer inset −6% −14% −10%, blurred 0.85em and saturated 1.25, holding five to seven elliptical blobs, each radial-gradient(closest-side, colour, colour 45%, transparent) placed by centre and size in percent. They sit in the lower half (centres 60–90% down), a muted accent may sit high in a corner, and a wide pale band is centred just past the bottom edge. Over the bloom, a sharper 'foot' (120% wide, 33% tall, its box reaching 11% below the edge, solid to 40%, a pale near-white, blurred only 0.55em, breathing over 6s) makes the bottom edge burn white-hot. Blobs churn on 10–15s alternate loops (translate ±5%, scale 0.94–1.1). On hover the whole bloom climbs 8% (the foot 6%), gets brighter and more saturated, and the page halo grows. Content at the top (padding 0.95em 1em): a 1.75em icon tile (white 6% fill, hairline, a 1.7-stroke line icon), a bold 1.42em title wrapping to two lines (max 8.5em), a 0.7em muted line (#a3a5b5) and a bold underlined 0.66em "Learn more" link. Reduced motion stops the churn. Props: icon, title, children, action, href, look {glow, tint, blobs[]}. Selected variant — Magenta (magenta): Glow #c42bd8 over a #14163a tint: electric blue #3826ff and violet #7a2bff on the left, hot pink #ff1aa8 and #ff2a55 on the right, a muted rose high in the right corner, an ice-blue #bfe6ff spot and a white band along the bottom. Lock icon, 'Always guarded'. This selection takes precedence over references to other themes or options in the general brief. Implement this selected appearance; do not add a variant picker or alternative appearances unless requested. Implementation requirements: Use React and TypeScript. Keep the component self-contained, with uniquely scoped CSS and no animation libraries. Include required imports, styles and font setup in the result. Interaction: Hover raises the bloom and widens the glow around the card; the link thickens its underline. Motion: Blobs churn on 10–15s alternate loops; the hover climb eases over 0.8s and the halo over 0.6s. Accessibility: An article with a real heading, paragraph and link; bloom and halo are aria-hidden. The copy sits in the dark top half, above 7:1. Visible focus ring on the link. Reduced motion stops the churn. Responsive behavior: Fixed 15em width that shrinks to the container; it is meant to sit in a grid of two to four. Touch: No hover on touch; the bloom keeps churning slowly. Preserve keyboard access, visible focus and reduced-motion behavior. Keep fictional demo data and simulated service calls in a separate usage example; expose callbacks for real actions and recover from rejected requests. Keep usage-example links inside the demo: use local buttons or prevent navigation. Demonstration links must not navigate to Vitrine routes or open other pages; preserve real URL support in the reusable component itself. Verify the result at narrow and wide viewport sizes, with keyboard input and reduced motion enabled.
Notes
- Interaction
- Hover raises the bloom and widens the glow around the card; the link thickens its underline.
- Motion
- Blobs churn on 10–15s alternate loops; the hover climb eases over 0.8s and the halo over 0.6s.
- Accessibility
- An article with a real heading, paragraph and link; bloom and halo are aria-hidden. The copy sits in the dark top half, above 7:1. Visible focus ring on the link. Reduced motion stops the churn.
- Responsive
- Fixed 15em width that shrinks to the container; it is meant to sit in a grid of two to four.
- On touch
- No hover on touch; the bloom keeps churning slowly.