Skip to content
GitHub11 stars

Visually or semantically separates content.

Blazix
The Foundation for your Design System
A set of beautifully designed components that you can customize, extend, and build on.
<div class="flex max-w-sm flex-col gap-4 text-sm">
    <div class="flex flex-col gap-1.5">
        <div class="leading-none font-medium">Blazix</div>
        <div class="text-muted-foreground">The Foundation for your Design System</div>
    </div>
    <Separator />
    <div>A set of beautifully designed components that you can customize, extend, and build on.</div>
</div>

Installation

dnx Blazix.Cli add separator

Usage

<Separator />

Vertical

Use orientation="vertical" for a vertical separator.

Blog
Docs
Source
<div class="flex h-5 items-center gap-4 text-sm">
    <div>Blog</div>
    <Separator Orientation="Orientation.Vertical" />
    <div>Docs</div>
    <Separator Orientation="Orientation.Vertical" />
    <div>Source</div>
</div>

Vertical separators between menu items with descriptions.

Settings Manage preferences
Account Profile & security
<div class="flex items-center gap-2 text-sm md:gap-4">
    <div class="flex flex-col gap-1">
        <span class="font-medium">Settings</span>

List

Horizontal separators between list items.

Item 1
Value 1
Item 2
Value 2
Item 3
Value 3
<div class="flex w-full max-w-sm flex-col gap-2 text-sm">
    <dl class="flex items-center justify-between">
        <dt>Item 1</dt>

RTL

To enable RTL support in Blazix, see the RTL configuration guide.

Translated with AI for the demo, so it may have mistakes.

Blazix
الأساس لنظام التصميم الخاص بك
مجموعة من المكونات المصممة بشكل جميل يمكنك تخصيصها وتوسيعها والبناء عليها.
<div class="flex max-w-sm flex-col gap-4 text-sm">
    <div class="flex flex-col gap-1.5">
        <div class="leading-none font-medium">Blazix</div>

API Reference

Separator

ParameterTypeDefault
Render RenderFragment<PartRenderProps>? -
Orientation Orientation Orientation.Horizontal
Class string? -

Other attributes are passed to the element it renders.