Join is a container for grouping multiple items, it can be used to group buttons, inputs, etc. Join applies border radius to the first and last item. Join can be used to create a horizontal or vertical list of items.
Class name | Type | |
---|---|---|
join | Component | For grouping multiple items |
join-item | Component | Item inside join. Can be a button, input, etc. |
join-vertical | direction | Show items vertically |
join-horizontal | direction | Show items horizontally |
<div class="$$join"> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> </div>
<div class="$$join">
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
</div>
<div class="$$join"> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> </div>
<div class="$$join">
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
</div>
<div class="$$join $$join-vertical"> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> </div>
<div class="$$join $$join-vertical">
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
</div>
<div class="$$join $$join-vertical"> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> </div>
<div class="$$join $$join-vertical">
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
</div>
<div class="$$join $$join-vertical lg:$$join-horizontal"> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> </div>
<div class="$$join $$join-vertical lg:$$join-horizontal">
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
</div>
<div class="$$join $$join-vertical lg:$$join-horizontal"> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> <button class="$$btn $$join-item">Button</button> </div>
<div class="$$join $$join-vertical lg:$$join-horizontal">
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
<button class="$$btn $$join-item">Button</button>
</div>
<div class="$$join"> <div> <div> <input class="$$input $$input-bordered $$join-item" placeholder="Search" /> </div> </div> <select class="$$select $$select-bordered $$join-item"> <option disabled selected>Filter</option> <option>Sci-fi</option> <option>Drama</option> <option>Action</option> </select> <div class="$$indicator"> <span class="$$indicator-item $$badge $$badge-secondary">new</span> <button class="$$btn $$join-item">Search</button> </div> </div>
<div class="$$join">
<div>
<div>
<input class="$$input $$input-bordered $$join-item" placeholder="Search" />
</div>
</div>
<select class="$$select $$select-bordered $$join-item">
<option disabled selected>Filter</option>
<option>Sci-fi</option>
<option>Drama</option>
<option>Action</option>
</select>
<div class="$$indicator">
<span class="$$indicator-item $$badge $$badge-secondary">new</span>
<button class="$$btn $$join-item">Search</button>
</div>
</div>
<div class="$$join"> <div> <div> <input class="$$input $$input-bordered $$join-item" placeholder="Search" /> </div> </div> <select class="$$select $$select-bordered $$join-item"> <option disabled selected>Filter</option> <option>Sci-fi</option> <option>Drama</option> <option>Action</option> </select> <div class="$$indicator"> <span class="$$indicator-item $$badge $$badge-secondary">new</span> <button class="$$btn $$join-item">Search</button> </div> </div>
<div class="$$join">
<div>
<div>
<input class="$$input $$input-bordered $$join-item" placeholder="Search" />
</div>
</div>
<select class="$$select $$select-bordered $$join-item">
<option disabled selected>Filter</option>
<option>Sci-fi</option>
<option>Drama</option>
<option>Action</option>
</select>
<div class="$$indicator">
<span class="$$indicator-item $$badge $$badge-secondary">new</span>
<button class="$$btn $$join-item">Search</button>
</div>
</div>
<div class="$$join"> <input class="$$input $$input-bordered $$join-item" placeholder="Email" /> <button class="$$btn $$join-item rounded-r-full">Subscribe</button> </div>
<div class="$$join">
<input class="$$input $$input-bordered $$join-item" placeholder="Email" />
<button class="$$btn $$join-item rounded-r-full">Subscribe</button>
</div>
<div class="$$join"> <input class="$$input $$input-bordered $$join-item" placeholder="Email" /> <button class="$$btn $$join-item rounded-r-full">Subscribe</button> </div>
<div class="$$join">
<input class="$$input $$input-bordered $$join-item" placeholder="Email" />
<button class="$$btn $$join-item rounded-r-full">Subscribe</button>
</div>
<div class="$$join"> <input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 1" /> <input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 2" /> <input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 3" /> </div>
<div class="$$join">
<input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 1" />
<input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 2" />
<input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 3" />
</div>
<div class="$$join"> <input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 1" /> <input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 2" /> <input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 3" /> </div>
<div class="$$join">
<input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 1" />
<input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 2" />
<input class="$$join-item $$btn" type="radio" name="options" aria-label="Radio 3" />
</div>