Feedback and status
Success screen
the one success template
function SuccessScreenDemo() { return ( <Card className="w-full py-2"> <SuccessScreen title="You are all set" body="Your changes are saved and everything is ready to go." className="py-6" /> </Card> );}Usage
Use for EVERY success state: signup done, booking confirmed, order placed. Optional amount/subtitle when a value matters. Actions go in a StickyBottomBar below it.
API
<SuccessScreen title body? amount? amountSubtitle? loading?>{extra}</SuccessScreen>Get it
Already in every copy of the native kit:
import { SuccessScreen } from '@/components/kit/success-screen';Details
- Exports
SuccessScreen- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/lib-utils, @halftone-native/spinner, @halftone-native/spot, @halftone-native/text
- Also searched as
- done, confirmation, checkmark, complete
- Registry JSON
- /r/native/success-screen.json
function SuccessDemo() { const [loading, setLoading] = React.useState(false); const replay = () => { setLoading(true); setTimeout(() => setLoading(false), 1200); }; return ( <SuccessScreen className="w-full" title="Payment sent" amount="£2,310.00" amountSubtitle="to Lumen Labs" body="It arrives today, by 6pm." loading={loading}> <Button variant="outline" className="w-full" onClick={replay}> Send another </Button> </SuccessScreen> );}Usage
Use for EVERY success state: signup done, booking confirmed, order placed. Optional amount when a value matters.
API
<SuccessScreen title body? amount? amountSubtitle? loading?>{extra}</SuccessScreen>Get it
Already in every copy of the web kit:
import { SuccessScreen } from '@/components/kit/success-screen';Details
- Exports
SuccessScreen- Packages
- cn@^0.5.2, lucide-react@^1.52.0
- Installs with
- @halftone-web/spinner, @halftone-web/spot
- Also searched as
- done, confirmation, checkmark, complete
- Registry JSON
- /r/web/success-screen.json
Agents: the whole registry is at /llms.txt.