<section data-slot='section'>
<div data-slot='section-container'>
<header>
<h2 data-slot='section-title'>Your collection</h2>
<p data-slot='section-description'>Add a short introduction.</p>
</header>
<div>Place the section content here.</div>
</div>
</section>Installation
npx shadcn@latest add https://ui.full.dev/r/liquid/section.json
Follow the one-time layout setup. A full components install already includes this item.
Usage
After this install, render these once in the layout head before theme overrides and other modules. The full ui hook already includes them. The command also installs the parts used in this example.
{% render 'ui-init' %}
{% render 'ui-section' %}
The preview and its Usage tab render the same native Liquid source. Use data-slot for parts, data-variant for variants and data-size for sizes. Keep your store’s labels, translations and Shopify data in your theme.
Parts
header-container, section, section-container, section-description, section-title.
Variants
bordered, floating, page.