--- epic: 15 story: 15.5 title: "Template Library" status: draft --- ## Epic 15 — Monetization & Onboarding **Goal:** Establish sustainable revenue with a generous free tier and frictionless onboarding. ### Story 15.5: Template Library As a CalcPad user, I want access to pre-built templates for common calculation tasks, So that I can start with a useful structure instead of a blank sheet. **Acceptance Criteria:** **Given** the user opens the template library (File > New from Template or from the home screen) **When** the library is displayed **Then** the following templates are available: Budget Planning, Trip Expenses, Recipe Scaling, Developer Conversions, Freelancer Invoicing, Compound Interest, and Timezone Planner **And** each template has a title, brief description, and preview of its contents **Given** a user selects a template (e.g., "Budget Planning") **When** they click "Use Template" or equivalent action **Then** a new sheet is created as a clone of the template **And** the cloned sheet is fully editable and independent of the original template **And** placeholder values in the template are clearly marked for the user to customize **Given** the "Budget Planning" template **When** a user opens it **Then** it includes labeled sections for income, fixed expenses, variable expenses, and a calculated total/savings line using variables **Given** the "Developer Conversions" template **When** a user opens it **Then** it includes common conversions: bytes to megabytes/gigabytes, milliseconds to seconds, pixels to rem, hex to decimal, and color format examples **Given** the "Compound Interest" template **When** a user opens it **Then** it includes variables for principal, rate, period, and compounding frequency **And** the formula is expressed using CalcPad syntax with a clearly labeled result **Given** a free-tier user **When** they access the template library **Then** all templates are available to free-tier users (templates are not gated behind Pro) **And** the cloned sheet counts toward the user's 10-sheet limit