Skip to content
Logo LogoDuck Framework
Explore the Main Site
⌘ K
Logo LogoDuck Framework
Explore the Main Site

Table of Contents:

  • 🚀 Getting Started with Duck
  • 🗨️ Build a Reactive Chat App in 5 Minutes
  • 🌀 Project structure
  • 🗃 Cached Views
  • 🛠 Settings Configuration
  • 🖥️ Lively Component System
  • 📟 Simple Counter App in Python
  • 🌀 Component Caching Utilities
  • 📑 Templates
  • 🏷️ Template Tags & Filters
  • 📘 Blueprints
  • ⛴️ Micro Applications
  • ⏳ Task Automation
  • 🚧 HTTP/2 and HTTPS
  • 🖥️ Web Server Gateway (WSGI)
  • ⚡ Asynchronous Server Gateway (ASGI)
  • 🌐 WebSockets in Python – Real-Time Apps with Duck
  • 🔋Background Thread & Asyncio Loop Managers
  • 🔀 Request & Response
  • 🔐 Authentication in Duck
  • 🔑 JWT in Duck
  • 🔐 Sessions in Duck
  • 🛡️ Duck Middlewares
  • 📝 Duck Logging System
  • 🗄️️ Database
  • 🐤 Django Integration with Duck
  • 📄 Sitemap
  • 🚀 Deployment Guide
  • 📊 Duck System Monitor
  • 📊 Duck Dashboard
  • 🌐 Duck Service Management
  • 🔐 Free SSL Certificate
  • 🔌 Socket I/O (xsocket)
  • 💡Duck Shortcuts
  • ⌛ Duck Utilities
  • Changelog

API Documentation:

  • API Reference
    • duck
Duck Framework
/
API Reference
/
duck
/
duck.etc
/
duck.etc.blueprints
/
duck.etc.blueprints.welcome
/
duck.etc.blueprints.welcome.ui
/
duck.etc.blueprints.welcome.ui.components
/
duck.etc.blueprints.welcome.ui.components.links_section

duck.etc.blueprints.welcome.ui.components.links_section¶

LinksSection component — three large link cards pointing to the official Duck Framework site, documentation, and contribution page.

Module Contents¶

Classes¶

LinksSection

Renders the three primary outbound links as interactive cards.

API¶

class duck.etc.blueprints.welcome.ui.components.links_section.LinksSection(element: Optional[str] = None, properties: Optional[Dict[str, str]] = None, props: Optional[Dict[str, str]] = None, style: Optional[Dict[str, str]] = None, inner_html: Optional[Union[str, str, float]] = None, children: Optional[List[duck.html.components.HtmlComponent]] = None, **kwargs)[source]¶

Bases: duck.html.components.InnerComponent

Renders the three primary outbound links as interactive cards.

Each card has a colored ambient glow on hover and an arrow that shifts on hover to suggest navigation.

Initialization

Initialize an HTML component.

Parameters:
  • element – The HTML element tag name (e.g., textarea, input, button). Can be None, but make sure element is returned by get_element method.

  • accept_inner_html – Whether the HTML component accepts an inner body (e.g., inner-body-here).

  • inner_html – Inner html to add to the HTML component. Defaults to None.

  • properties – Dictionary for properties to initialize the component with.

  • props – Just same as properties argument (added for simplicity).

  • style – Dictionary for style to initialize the component with.

  • **kwargs – Extra keyword arguments

Raises:

HtmlComponentError – If ‘element’ is not a string or ‘inner_html’ is set but ‘accept_inner_html’ is False.

LINKS¶

[(‘🌐’, ‘Official Site’, ‘Explore the Duck Framework homepage — overview, showcase, and the latest fr…

arrow_icon() → str[source]¶

Returns an inline SVG arrow icon for link cards.

Returns:

SVG string.

build_link_card(icon: str, title: str, desc: str, url: str, accent: str, glow: str) → duck.html.components.container.Container[source]¶

Returns a single outbound link card.

Parameters:
  • icon – Emoji icon shown at the top of the card.

  • title – Card heading text.

  • desc – Short description of the destination.

  • url – The external URL the card links to.

  • accent – CSS color for the arrow and hover accent.

  • glow – CSS rgba color for the radial hover glow.

Returns:

A Container rendered as an anchor element.

get_element() → str[source]¶
Returns:

The HTML element tag for this component.

on_create() → None[source]¶

Builds the section label and the three link cards.

duck.etc.blueprints.welcome.ui.components.hero
duck.etc.blueprints.welcome.ui.components.nav_footer

On this page

  • Module Contents
    • Classes
    • API
      • LinksSection
        • LinksSection.LINKS
        • LinksSection.arrow_icon()
        • LinksSection.build_link_card()
        • LinksSection.get_element()
        • LinksSection.on_create()

© 2026, Duck Framework Built with Sphinx 8.2.3