@get-asset/sdk
Headless components
Compound primitives shipped by @get-asset/sdk. Each one owns its data fetching, state machine, and retry logic — you own the markup. Compose the parts you need; asChild hands rendering off to your own components.
Every compound below renders inside an AssetProvider, which configures the API client and stores the shared year/month period that year-aware cards fall back to.
Components
Accounts Connect →
Connect a new institution via Plaid, then assign accounts business/personal.
Accounts List →
Connected accounts grouped by institution, with balances and reconnect.
Ask →
Free-text ask affordance — a chip that expands into an input; the host answers.
Balance Sheet Report →
Hierarchical balance sheet table — assets, liabilities, equity.
Cashflow Card →
Opening/closing balances across recent periods.
Cashflow Report →
Hierarchical cashflow table — operating, investing, financing.
Documents →
Uploaded documents in a table — description, file, date, source, status, type.
Expenses Card →
Yearly expenses with year-over-year change. Decrease reads as positive.
Locked / Upsell →
Shared teaser + upgrade prompt machinery behind every chart card's locked state.
Onboarding →
Self-contained wizard that creates a business, then connects accounts.
Operating Expenses →
Top expense categories with proportional bars.
Plaid Link →
Headless Plaid Link trigger for connecting and reconnecting accounts.
Profit & Loss Card →
Month-by-month revenue and expense bars.
Profit & Loss Report →
Hierarchical P&L table with subtotals and account-level lines.
Revenue Card →
Yearly revenue with year-over-year change.
Snapshot Card →
Revenue vs. expense snapshot with net profit.
Tasks →
Outstanding tasks grouped by type, with per-section counts and built-in row actions.
Transactions →
Journal entries as a reviewable table with confirm and context actions.