The Custom Block is a UniLink block that lets you embed any HTML, CSS, or JavaScript snippet directly into your link-in-bio page for fully flexible, custom functionality.
What is the Custom Block?
The Custom Block is UniLink's power-user feature, giving you complete creative freedom to add any content or functionality that is not covered by a built-in block. Whether you want to embed a third-party widget, add a custom countdown timer, display a Typeform survey, integrate a Calendly scheduler, or build an entirely custom section with hand-crafted HTML and CSS, the Custom Block makes it possible. It is designed for developers, advanced creators, and technical marketers who need maximum control over their page.
How to Add the Custom Block
- Log in to your UniLink Dashboard
- Open your page editor
- Click Add Block (+)
- Select Custom
Configuration Options
- HTML Editor — Paste or write any valid HTML markup to define the structure and content of your custom section
- CSS Styling — Add scoped CSS styles to control the appearance of your custom content without affecting other blocks
- JavaScript — Include JavaScript for interactive behavior, third-party widget initialization, or dynamic content loading
- Embed Code — Paste embed snippets from external services (Typeform, Calendly, Spotify, Stripe, etc.) directly into the editor
- Block Height — Set a fixed or auto height for the custom section to ensure it fits naturally within your page layout
- Visibility Toggle — Show or hide the custom block without deleting your code, useful for seasonal or temporary content
Best Practices
- Test your custom code on a staging version of your page before publishing to avoid breaking your live profile with syntax errors.
- Keep custom JavaScript minimal and well-tested — poorly written scripts can slow your page load time and hurt visitor experience.
- Use the Custom Block for embed codes from trusted third-party services rather than writing complex functionality from scratch.
- Document your custom code with inline comments so you can understand and edit it easily weeks or months later.
