Look'n Feel
<HTMLBlock>{`
<style>
section#hub-content header h1, section#hub-content header h2 {
color: #f71963
}
p {
line-height: 1.5rem;
}
</style>
`}</HTMLBlock>
# Look'n Feel
## Introduction
The Admin Framework exists to unify channels and make life easier for the store operator. It is important, however, that the visual experience is homogeneous to avoid inconsistency of usability.
In order to facilitate visual integration for the developer, [Styleguide](https://styleguide.vtex.com) is available and with several components that can be used to quickly create administrative screens.
## Activity
1. In step 1, in the `/react/adminExample.tsx` file we add `vtex.styleguide` as a dependency, import the styleguide's`Layout` and `PageBlock` so that we can use them:
```code
import { Layout, PageBlock } from 'vtex.styleguide'
- Both components are responsible for creating the admin layout that is used by VTEX apps, you can compose them as follows:
import React, { FC } from 'react'
import { Layout, PageBlock } from 'vtex.styleguide'
const AdminExample: FC = () => {
return (
<Layout>
<PageBlock variation="full">
<h1>Hello, World!</h1>
</PageBlock>
</Layout>
)
}
export default AdminExample
- By viewing the [PageBlock] documentation (https://styleguide.vtex.com/#/Components/Admin%20structure/PageBlock), we can enrich it by adding a title and description:
import React, { FC } from "react";
import { Layout, PageBlock } from "vtex.styleguide";
const AdminExample: FC = () => {
return (
<Layout>
<PageBlock
+ title="Titulo"
+ subtitle="Alguma explicação."
+ variation="full"
>
<h1>Hello, World!</h1>
</PageBlock>
</Layout>
);
};
export default AdminExample;
The expected result should be:

Any questions?
See the answersheet for this step or check our [office hours] on the VTEX Developers channel(https://www.youtube.com/c/VTEXDevelopers)
Help us make this content better!
VTEX IO courses are open source. If you see something wrong, you can open a pull request!
Make a contribution
Updated 18 days ago
Next step