structyl

App Bar API

View component

The full prop reference for the App Bar component. A top application bar.

Import

tsx
import { AppBar } from '@structyl/styled';

Props

AppBar

Top app shell surface.

PropTypeDefault
position#'static' | 'sticky' | 'fixed' | 'absolute' | 'relative'

Positioning mode.

'static'
color#'default' | 'inherit' | 'primary' | 'secondary' | 'success' | 'warning' | 'destructive' | 'muted' | 'transparent'

Surface color.

'default'
elevation#0 | 1 | 2 | 3 | 4 | 5 | 6

Shadow depth.

0
square#boolean

Remove rounded corners.

true
className#string

Additional Tailwind classes merged with the component defaults.

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library