Skip to main content

default

Stock Screening Platform - Frontend API v0.1.0


Stock Screening Platform - Frontend API / components/freemium/LockedContent / default

Function: default()

default(__namedParameters): Element

Defined in: src/components/freemium/LockedContent.tsx:63

Locked content component with upgrade prompt.

Shows a blurred placeholder with an attractive overlay prompting users to sign up to access the feature.

Features

  • Blurred Content: Visual preview of locked content
  • Clear CTA: Prominent sign-up and login buttons
  • Responsive: Works on mobile and desktop
  • Accessible: Proper ARIA labels and keyboard navigation

Parameters

__namedParameters

LockedContentProps

Returns

Element

Examples

// Financial statements tab
{canViewFinancials ? (
<FinancialsTab />
) : (
<LockedContent
feature="Financial Statements"
description="View detailed income statements, balance sheets, and cash flow data"
/>
)}
// Technical indicators
{canViewAllTechnicals ? (
<TechnicalIndicators indicators={allIndicators} />
) : (
<LockedContent
feature="Advanced Technical Indicators"
height="400px"
/>
)}