App UI kits › Holdfast › Buy

Buy

Buy by dollars or shares; the other side is worked out as you type and you cannot go past your cash.

Buy is a screen from Holdfast, an app ui kit with 11 screens: An investing and crypto wallet app with a chart you scrub, and every fee shown before you buy. Price: $5 for the whole pack.

Built with: dollars or shares, limit order, cash guard.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Buy props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosHyPhotos
assetstring
onReview(o: { id: string; dollars: number; shares: number; type: 'market' | 'limit'; limit?: number }) => void

Methods on the ref

Use it in React

import HoldfastTrade from './HoldfastTrade';

<HoldfastTrade />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Holdfast

Good for: Stock trading app UI, USA (dollars).