npx shadcn@latest add https://ui.doras.to/r/tile.jsonContains all root functionality.
| Prop | Type | Default |
|---|---|---|
variant | "default" | "outline" | "transparent" | "default" |
asChild | boolean | false |
className | string | - |
By using asChild, you can use the tile as a link or any other component
Using the outline variant that uses React Context to style children
Similar to outline, but with a transparent background for use on cards or colored backgrounds