new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

shadcn/ui · Components · all subjects

button/props

8 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Button variant prop options

The variant prop accepts the following values: default, outline, ghost, destructive, secondary, and link. The default value is "default".

Button API prop table

Button component props: variant (type: "default" | "outline" | "ghost" | "destructive" | "secondary" | "link", default: "default"), size (type: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg", default: "default").

Button size prop usage

The size prop changes the size of the button. Available sizes are: default, xs, sm, lg, icon, icon-xs, icon-sm, and icon-lg.

Button component API reference - variant prop

The Button component has a variant prop with type "default" | "outline" | "ghost" | "destructive" | "secondary" | "link" and default value "default".

Button component API reference - size prop

The Button component has a size prop with type "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" and default value "default".

Button size prop usage

Use the size prop to change the size of the button. The Button component accepts a size prop.

Button asChild prop usage

You can use the asChild prop on the <Button /> component to make another component look like a button. For example, you can make a link element look like a button using asChild.

Button props API reference

The Button component accepts the following props: variant (type: "default" | "outline" | "ghost" | "destructive" | "secondary" | "link", default: "default"), size (type: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg", default: "default"), and asChild (type: boolean, default: false).

Give your agent this brain