Storybook
  • Theme

  • Light
  • Dark
  • System
  • Light tone

  • Light
  • Light high contrast
  • Light colorblind
  • Light Tritanopia
  • Dark tone

  • Dark
  • Dark dimmed
  • Dark high contrast
  • Dark colorblind
  • Dark Tritanopia
  • Reset to default

Box

A box is a simple container with rounded corners, a white background, and a light gray border. It can be used to display a single item or a list of items, with an optional header and footer.

Box with stream

Interactive
Header
Ruth Saddlemore
John Bishop
Laura Manach
Julian Newton
Melissa Noakes
Quincy Pritchard
Melinda Crocket
Derek Samuel

Simple box

Content

Box elements

Header
Body
Row
Row

Condensed

Header
Row
Row

Spacious

Header
Row
Row

Dashed border

Header
Row
Row

Blue box

Header
Row
Row

Danger

Row
Row

Blue header

Header
Row
Row

Row themes

Row
Row
Row
Row
Row

From data

A
B
C

Box title

Title

Row

Box title with a counter

Title 12

Row

Box title with a button

Title

Rest

Box with an alert

Header
Done!
Body

Rows as links

Row with link

Header with icon button

A very long title that wraps onto multiple lines without overlapping or wrapping underneath the icon to it's right

Content

Overflow inner content

Header

General info

Body
Row 1
Row 2
Row 3
Row 4
Row 5
Row 6
Row 7
Row 8

Custom styles

Header
Row
Row
Row

Styling with CSS utilities

Header
Row
Row
Row

Reusing styled component

This example demonstrates the reuse of a component that contains custom styles.
Header
Row
Row
Row