- listing
- RoleListing
- default defaultListing
- The role: title, company, team, team size, location, remote, employment, salary band, market range, summary, posted and applicants.
- saved / defaultSaved
- boolean
- default false
- The corner is folded down and the role saved.
- onSavedChange
- (saved: boolean) => void
- default —
- Fires from the press or the drag that folded or unfolded the corner.
- open / defaultOpen
- boolean
- default false
- The application form is showing.
- onOpenChange
- (open: boolean) => void
- default —
- Fires from Apply, Cancel, Escape and a sent application.
- applied / defaultApplied
- boolean
- default false
- An application has been sent and the card is stamped.
- onAppliedChange
- (applied: boolean) => void
- default —
- Fires when a submission succeeds.
- onApply
- (application: { email: string; link: string }) => void | Promise<unknown>
- default —
- Sends the application. A returned promise shows Sending with the button's width held; a rejection keeps the form open with an error.
- band
- "sweep" | "center" | "ends"
- default "sweep"
- How the salary band draws: sweeping up from its low end, spreading from its midpoint, or closing in from the scale's edges.
- crease
- number
- default 40
- The folding corner's size in px: a small dog-ear or a big fold.
- expand
- "inline" | "sheet"
- default "inline"
- Where the form opens: growing the card in place (its height glides), or as a sheet over its lower half.
- reveal
- "hover" | "always"
- default "hover"
- When the band draws, the chips settle and the badge flips: on hover, keyboard focus or a tap, or always.
- formatMoney
- (amount: number, currency: string) => string
- default "€62k" style
- How an amount is written, in the labels, the band and its spoken sentence.
- applyLabel
- string
- default "Apply"
- The Apply button's text.
- appliedLabel
- string
- default "Applied"
- The text once applied, on the button and the stamp.
- size
- "sm" | "md" | "lg"
- default "md"
- Badge (36 / 40 / 48 px) and title size; sm also tightens the padding.
- accent
- string
- default "var(--accent)"
- The offered band, the Apply fill and the warm chip icons, as any CSS colour.
- sound
- boolean
- default false
- Paper for the fold and the form, a click for Send and for the stamp landing.
- disabled
- boolean
- default false
- No reveal, no fold, no applying.
- className
- string
- default —
- Classes for the card.