Skip to main content
  1. Docs
  2. Components
  3. Layout

Inline

A horizontal flow with a gap from the space scale, that wraps when space runs out.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<div>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Playground

Every prop, live, and the code it takes.

Engineering
Finance
People
Sales
Support
Gap
Justify
groups.tsx
import { Badge, Inline } from "@qeetrix/react";

<Inline>
  <Badge>Engineering</Badge>
  <Badge>Finance</Badge>
  <Badge>People</Badge>
  <Badge>Sales</Badge>
  <Badge>Support</Badge>
</Inline>

02

A row

Side by side, centred across, sm (8px) apart by default.

03

Wrapping

It wraps onto new lines when space runs out; wrap={false} keeps one line.

EngineeringFinancePeopleSalesSupportDesignOperationsLegal

04

Ends

justify="between": one thing at the start, another at the end.

Recent sign-ins

05

Baseline

align="baseline": text of two sizes on one line.

1,284users
Next — InlineUsage