Developer Help

User Listings Widgets

Display user events and products listings on any website with customizable HTML widgets

What are User Listings Widgets?

Streets user listings widgets allow you to display a user's events and products on any website. Perfect for event organizers and vendors who want to showcase their full catalog of offerings in customizable layouts.

Quick Start Guide

1

Include the Script

Add the Streets embed script to your website's HTML

2

Add Listings Widget

Insert user listings elements with the user's Streets ID

3

Customize & Launch

Style your widgets and display user's complete catalog

Basic Implementation

1. Include the Embed Script

Add this script tag to your website's HTML head or before the closing body tag:

<!-- Include the Streets embed script -->
<script src="https://thestreetsapp.com/embed/streets-embed.js"></script>

2. Add User Listings Widget Elements

Insert user listings widget elements wherever you want them to appear on your page:

User Events Widget

Display all events from a specific user

<div data-streets-widget="user-events" 
     data-share-id="user-streets-id"
     data-layout="grid"
     data-limit="6">
</div>

User Products Widget

Display all products from a specific user

<div data-streets-widget="user-products" 
     data-share-id="user-streets-id"
     data-layout="list"
     data-limit="8">
</div>

📋 Basic Widget Preview

Here's a simple user events widget example:

⏳ Loading widget preview...

Note: For full functionality and testing, use the interactive widget creator below or visit the complete test page.

Interactive Widget Creator

Customize your user listings widget and see a live preview. Copy the generated HTML code to use on your website.

Configuration

The user's unique Streets ID

Used for gradients and accents

Used for highlights (optional)

User name and about text color (optional)

How checkout is handled when clicked

Live Preview

Generated HTML Code

<div data-streets-widget="user-events"
     data-share-id="testuser"
     data-layout="grid"
     data-limit="6"
     data-theme="light">
</div>

Testing Tips

  • • Use a valid Streets ID for best results
  • • Try different layouts and themes to find your style
  • • Test with different limit values to see the effect
  • • Visit the full test page for more examples

Widget Types

User Events Widget

Display upcoming events from a user

  • • Shows active, public events only
  • • Filters events that started more than 6 hours ago
  • • Includes ticket information and pricing
  • • Date and location filtering
  • • Direct checkout integration
data-streets-widget="user-events"

User Products Widget

Display products for sale from a user

  • • Shows active products only
  • • Respects sale start/end dates
  • • Includes pricing and availability
  • • Search and filtering capabilities
  • • Direct purchase integration
data-streets-widget="user-products"

Configuration Options

Required Attributes

AttributeValuesDescription
data-streets-widgetuser-events |user-productsWidget type to display
data-share-idStringUser's Streets ID (found in profile settings)

Optional Attributes

AttributeDefaultValuesDescription
data-layoutgridgrid |listDisplay layout style
data-limit6NumberMaximum items to display
data-themelightlight |dark |minimalVisual theme
data-show-searchtruetrue |falseShow search filter
data-show-date-filtertruetrue |falseShow date filter (events only)
data-hide-imagefalsetrue |falseHide item images
data-hide-pricefalsetrue |falseHide pricing information
data-hide-locationfalsetrue |falseHide location info (events only)
data-sort-bydate/namedate |name |priceSort order for items
data-primary-color-Hex color (e.g. #3B82F6)Custom primary color for gradients and accents (optional)
data-secondary-color-Hex color (e.g. #F59E0B)Custom secondary color for highlights (optional, works independently)
data-header-text-color-Hex color (e.g. #FFFFFF)Custom color for user name and about text (optional)
data-inline-checkoutfalsetrue |falseEnable inline checkout modal instead of redirecting (default: false)
data-show-low-stockfalsetrue |falseShow quantity only when less than 10 (products only)

Layout & Theme Examples

Grid Layout

data-layout="grid"

List Layout

data-layout="list"

Dark Theme

data-theme="dark"

Code Examples

User Events Widget Examples

Basic Events Grid

<div data-streets-widget="user-events" data-share-id="your-streets-id" data-layout="grid" data-limit="6" data-theme="light" ></div>

Events List with Dark Theme

<div data-streets-widget="user-events" data-share-id="your-streets-id" data-layout="list" data-limit="4" data-theme="dark" data-show-search="true" data-show-date-filter="true" data-sort-by="date" ></div>

Minimal Events (No Images/Location)

<div data-streets-widget="user-events" data-share-id="your-streets-id" data-layout="grid" data-limit="3" data-theme="minimal" data-show-search="false" data-show-date-filter="false" data-hide-image="true" data-hide-location="true" data-sort-by="name" ></div>

Events with Inline Checkout & Custom Colors

<div data-streets-widget="user-events" data-share-id="your-streets-id" data-layout="grid" data-limit="6" data-theme="light" data-primary-color="#3B82F6" data-secondary-color="#F59E0B" data-header-text-color="#FFFFFF" data-inline-checkout="true" ></div>

User Products Widget Examples

Basic Products Grid

<div data-streets-widget="user-products" data-share-id="your-streets-id" data-layout="grid" data-limit="6" data-theme="light" ></div>

Products List with Search

<div data-streets-widget="user-products" data-share-id="your-streets-id" data-layout="list" data-limit="8" data-theme="light" data-show-search="true" data-sort-by="price" ></div>

Products without Pricing

<div data-streets-widget="user-products" data-share-id="your-streets-id" data-layout="grid" data-limit="4" data-theme="minimal" data-show-search="true" data-hide-price="true" data-sort-by="name" ></div>

Products with Inline Checkout & Low Stock Alerts

<div data-streets-widget="user-products" data-share-id="your-streets-id" data-layout="grid" data-limit="6" data-theme="light" data-primary-color="#8B5CF6" data-secondary-color="#DC2626" data-inline-checkout="true" data-show-low-stock="true" ></div>

Features & Benefits

✨ Key Features

  • Real-time data from Streets platform
  • Fully responsive design for all devices
  • Multiple layout options (grid/list)
  • Theme customization (light/dark/minimal)
  • Search and filtering capabilities
  • Direct checkout integration
  • Custom color schemes with gradients
  • Inline checkout modal with full functionality
  • Smart inventory display (low stock alerts)

🚀 Performance

  • Lazy loading for optimal performance
  • Efficient API calls with caching
  • Minimal JavaScript footprint
  • CORS-enabled for any domain
  • Error handling and fallbacks
  • Accessibility compliant

Use Cases

Event Promoters

Showcase your upcoming events on your website, blog, or social media to drive ticket sales and increase attendance.

Product Vendors

Display your products for sale on your e-commerce site or portfolio to maximize sales reach and visibility.

Developers

Integrate Streets listings into client websites, marketing pages, or custom applications with minimal code.

📱 Getting Your Streets ID

Your Streets ID (shareId) is required for all user listings widgets. Here's how to find it:

  1. Open the Streets app on your mobile device
  2. Go to your Profile tab
  3. Tap on Settings (gear icon)
  4. Look for "Streets ID" or "Share ID" in your profile settings
  5. Copy this ID and use it as the data-share-id value

Note: Your Streets ID is a unique identifier that allows the widget to display your public events and products. Make sure your events are set to public and active for them to appear in the widget.

Support & Resources

Testing & Troubleshooting

Test Your User Listings Widgets

Use our comprehensive test page to see all user listings widget types in action and test your specific Streets ID:

Open User Listings Test Page

Common Issues

Widget not displaying

Ensure the embed script is loaded and check that your Streets ID is correct and the user has public events/products.

No items showing

Verify that the user has active, public events or products. Events must not have started more than 6 hours ago.

Styling conflicts

Use specific CSS selectors or data attributes to override conflicting styles. User listings widgets use isolated CSS.

Need More Help?

If you're experiencing issues with user listings widgets, you can:

Ready to Get Started?

Now that you understand user listings widgets, you might want to: