Components
Reusable UI components and bridge tags for XML pages.
Avatar
TODO: Component description
xml
<Avatar size="sm">
<AvatarImage src="/ada.png" alt="Ada Lovelace" />
<AvatarFallback>AL</AvatarFallback>
<AvatarBadge>1</AvatarBadge>
</Avatar>Badge
TODO: Component description
xml
<Badge variant="secondary">New</Badge>Text
Renders inline text content and formatting.
Alinks to another page or resource.Brenders bold inline text.Coderenders inline monospace text.Srenders strikethrough text.Subrenders subscript text.Suprenders superscript text.Prenders a standard paragraph.Urenders underlined text.
xml
<A href="/settings" active="always">Open settings</A>
<B>Important</B>
<Code>@radix-ui/react-alert-dialog</Code>
<S>Deprecated</S>
<P>Use explicit paragraph text.</P>
<Sub>n</Sub>
<Sup>2</Sup>
<U>Underlined</U>Title
Renders page title levels.
H1primary heading for a page.H2second-level heading.H3third-level heading.H4fourth-level heading.
xml
<H1>Dashboard</H1>
<H2>Overview</H2>
<H3>Usage</H3>
<H4>Activity</H4>Lists
Renders ordered and unordered lists.
Olrenders an ordered list.Ulrenders an unordered list.Lirenders a list item insideOlorUl.
xml
<Ol>
<Li>First item</Li>
<Li>Second item</Li>
</Ol>
<Ul>
<Li>First item</Li>
<Li>Second item</Li>
</Ul>Buttons
TODO: Component description
Buttonrenders a single action.ButtonGrouparranges related buttons.
xml
<Button variant="default">
Create issue
</Button>
<ButtonGroup orientation="horizontal">
<Button variant="outline">Cancel</Button>
<ButtonGroupText>or</ButtonGroupText>
<Button>Save</Button>
</ButtonGroup>Hr
TODO: Component description
Hrrenders a visual separator.Brrenders a line break for visual separation.
xml
<Hr />
<Br />Hero
TODO: Component description
xml
<Hero icon="layout-grid">
<HeroTitle>Organizations</HeroTitle>
<HeroDescription>Browse the organizations you belong to.</HeroDescription>
<HeroAction>
<Action action="/organizations/new">Create organization</Action>
</HeroAction>
</Hero>Icon
TODO: Component description
xml
<Icon name="layout-grid" />Table
TODO: Component description
xml
<Table>
<Thead>
<Tr>
<Th>Quarter</Th>
<Th>Revenue</Th>
<Th>Growth</Th>
<Th>Status</Th>
</Tr>
</Thead>
<Tbody>
<Tr>
<Td>Q1</Td>
<Td>$120k</Td>
<Td>12%</Td>
<Td>On track</Td>
</Tr>
</Tbody>
</Table>