Corner Markers

Frames any container with the four L-shaped brackets that stand in for a border.

Configurations

Supported configurations for this component.

Configurations

4 examples
Default
Larger
Inset
Heavy

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/••••••••••••

Light and dark both come with the install and follow the dark class on <html>, the shadcn dark mode setup (next-themes with attribute="class").

Props

Every prop this component accepts. Any other prop is forwarded to the underlying element.

PropTypeDefaultDescription
sizenumber-px square the bracket lives inside; defaults to tokens.marker.size
offsetnumber-px inset from the corner; defaults to tokens.marker.offset
borderWidthnumber-px stroke thickness; defaults to tokens.marker.borderWidth
colorstring-any CSS color; defaults to tokens.color.border.bright
radiusnumber-px corner curve; defaults to the --andromeda-radius-frame token
classNamestring-Additional CSS classes applied to the root element.

More Andromeda Pro components