Basic Setup
To use Streets contact embed widgets on your website:
<!-- Include the Streets embed script -->
<script src="https://thestreetsapp.com/embed/streets-embed.js"></script>
<!-- Add a contact button widget -->
<div data-streets-widget="contact-button"
data-type="email"
data-share-id="your-share-id">
</div>
<!-- Add a contact inline widget -->
<div data-streets-widget="contact-inline"
data-type="both"
data-share-id="your-share-id"
data-height="400px">
</div>
Available Attributes
Basic Configuration
- data-streets-widget: "contact-button" or "contact-inline" (required)
- data-type: "email", "sms", or "both" (required)
- data-share-id: Your business/organizer shareId (required)
- data-theme: "light", "dark", or "minimal"
- data-button-text: Custom button text
- data-button-size: "small", "medium", or "large"
- data-height: Widget height (inline only)
Contact-Specific Options
- data-title: Custom form title
- data-description: Custom form description
- data-email-placeholder: Custom email input placeholder
- data-phone-placeholder: Custom phone input placeholder
- data-name-required: "true" to require name field
- data-success-message: Custom success message
Advanced Theming
- data-primary-color: Custom primary color
- data-background-color: Custom background color
- data-text-color: Custom text color
- data-border-radius: Custom border radius
- data-font-family: Custom font family