Skip to main content

Seat Style Options

Complete reference for seat styling options.

Basic Properties

PropertyTypeDefaultDescription
shapestring"circle"Shape type: circle, rect, path, svg
radiusnumber12Radius for circles and SVGs
sizenumber24Size for rectangles and paths
corner_radiusnumber6Corner radius for rectangles

Colors

PropertyTypeDefaultDescription
colorstring"#6796ff"Default seat color
hoverstring"#5671ff"Hover state color
selectedstring"#56aa45"Selected state color
not_salablestring"#424747"Unavailable seat color
focusstring"#435fa4"Focus state color
check_icon_colorstring"#fff"Color of checkmark icon

Custom Shapes

Path

PropertyTypeDescription
pathstringSVG path data (d attribute)
path_boxstringViewBox for the path
sizenumberSize of the shape

SVG File

PropertyTypeDescription
svgstringURL to SVG file
radiusnumberSize of the SVG

Examples

Circle

style: {
seat: {
shape: "circle",
radius: 12,
color: "#6796ff",
hover: "#5671ff",
selected: "#56aa45"
}
}

Rectangle

style: {
seat: {
shape: "rect",
size: 24,
corner_radius: 6,
color: "#6796ff"
}
}

Custom Path

style: {
seat: {
shape: "path",
path: "M12 0L24 12L12 24L0 12Z",
path_box: "0 0 24 24",
size: 24
}
}

SVG File

style: {
seat: {
shape: "svg",
svg: "/assets/custom-seat.svg",
radius: 12
}
}