--- title: "Tile" slug: tile category: component type: examples version: 20.0.0 tokens: 443 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-tile--examples.txt --- # Tile ## Default ```tsx This is a tile content. ``` ## Disabled ```tsx This tile is disabled. ``` ## Selected ```tsx This tile is selected. ``` ## With Checkbox ```tsx { const [selected, setSelected] = useState(false); return ( setSelected(detail.checked === true) }>
Checkbox tile
); } ``` ## With Radio Group ```tsx { const [selected, setSelected] = useState('radio-1'); return ( setSelected(detail.value || '') }>
Radio 1
Radio 2
); } ```