// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {useState} from 'react'; import {Stepper, Step} from '@astryxdesign/core/Stepper'; import {TextInput} from '@astryxdesign/core/TextInput'; import {Button} from '@astryxdesign/core/Button'; import {Text} from '@astryxdesign/core/Text'; import {Card} from '@astryxdesign/core/Card'; import {Badge} from '@astryxdesign/core/Badge'; import {Banner} from '@astryxdesign/core/Banner'; export default function StepperCustomContent() { const [active, setActive] = useState(0); // The content slot takes any node, not just form fields — a panel, a summary, // a notice. Gating it on `active` is what makes the flow expand a step at a // time. return (
next build · Output{' '}
.next · Node 20